From 59f550c510fec87fc871514b34b19f9afade956a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 12 Sep 2016 20:54:07 +0200 Subject: Remove more unused audio functions --- src/glutt-o-logique/audio.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/glutt-o-logique') 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; -- cgit v1.2.3