MCPcopy Create free account
hub / github.com/FastLED/FastLED / reset

Method reset

src/platforms/arm/teensy/audio_input_teensy.cpp.hpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void TeensyAudioRecorder::reset() {
20 mBlockQueue.clear();
21 mTotalBlocksReceived = 0;
22 mTotalBlocksDropped = 0;
23}
24
25void TeensyAudioRecorder::update() {
26 audio_block_t* leftBlock = receiveReadOnly(0); // Left channel

Callers 15

startMethod · 0.45
stopMethod · 0.45
createMethod · 0.45
cleanupMethod · 0.45
cleanupMethod · 0.45
showMethod · 0.45
waitCompleteMethod · 0.45
cleanupMethod · 0.45
~SPIDeviceProxyMethod · 0.45
acquireDMABufferMethod · 0.45
cleanupMethod · 0.45
acquireDMABufferMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected