MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / stop

Method stop

src/audio_pdm/Recorder.cpp:95–100  ·  view source on GitHub ↗

* TODO: Buffer fertig abbarbeiten */

Source from the content-addressed store, hash-verified

93 * TODO: Buffer fertig abbarbeiten
94*/
95void Recorder::stop() {
96 if (!_available) return;
97 device->end();
98 target->end();
99 _available = false;
100}
101
102void Recorder::setDevice(InputDevice * device) {
103 this->device = device;

Callers 1

config_callbackMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected