MCPcopy Create free account
hub / github.com/PaulStoffregen/Audio / stop

Method stop

play_serialflash_raw.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void AudioPlaySerialflashRaw::stop(void)
58{
59 __disable_irq();
60 if (playing) {
61 playing = false;
62 __enable_irq();
63 rawfile.close();
64 AudioStopUsingSPI();
65 } else {
66 __enable_irq();
67 }
68}
69
70
71void AudioPlaySerialflashRaw::update(void)

Callers

nothing calls this directly

Calls 1

AudioStopUsingSPIFunction · 0.85

Tested by

no test coverage detected