# | Line 338 | Line 338 | static void close_audio(void) | |
---|---|---|
338 | ||
339 | void AudioExit(void) | |
340 | { | |
341 | + | // Close audio device |
342 | + | close_audio(); |
343 | + | |
344 | + | // Delete semaphore |
345 | if (sem_inited) { | |
346 | sem_destroy(&audio_irq_done_sem); | |
347 | sem_inited = false; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |