diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-12 20:54:07 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-12 20:54:07 +0200 |
commit | 59f550c510fec87fc871514b34b19f9afade956a (patch) | |
tree | e4342c3889ede2443f1ac5c45c4d374a0cf2598b /src/glutt-o-logique | |
parent | 217a756f9287951664cf9b30a732f0d241c032a3 (diff) | |
download | glutte-o-matic-59f550c510fec87fc871514b34b19f9afade956a.tar.gz glutte-o-matic-59f550c510fec87fc871514b34b19f9afade956a.tar.bz2 glutte-o-matic-59f550c510fec87fc871514b34b19f9afade956a.zip |
Remove more unused audio functions
Diffstat (limited to 'src/glutt-o-logique')
-rw-r--r-- | src/glutt-o-logique/audio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/glutt-o-logique/audio.c b/src/glutt-o-logique/audio.c index 7c0c204..c2c2694 100644 --- a/src/glutt-o-logique/audio.c +++ b/src/glutt-o-logique/audio.c @@ -149,13 +149,6 @@ void audio_play_with_callback(AudioCallbackFunction *callback, void *context) { callback_function(callback_context, buffer_number); } -void audio_stop() { - audio_stop_dma(); - SPI3 ->CR2 &= ~SPI_CR2_TXDMAEN; // Disable I2S TX DMA request. - NVIC_DisableIRQ(DMA1_Stream7_IRQn); - callback_function = (AudioCallbackFunction*)0; -} - bool audio_provide_buffer_without_blocking(void *samples, int numsamples) { if (next_buffer_samples) return false; |