diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-12 20:51:27 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-12 20:51:27 +0200 |
commit | 217a756f9287951664cf9b30a732f0d241c032a3 (patch) | |
tree | 76cabf94efd861f075f9183344d9f5861c6b8721 /src/common/includes | |
parent | a9d474b0232321535dd03d412728be756b9a142b (diff) | |
download | glutte-o-matic-217a756f9287951664cf9b30a732f0d241c032a3.tar.gz glutte-o-matic-217a756f9287951664cf9b30a732f0d241c032a3.tar.bz2 glutte-o-matic-217a756f9287951664cf9b30a732f0d241c032a3.zip |
Remove unused audio functions
Diffstat (limited to 'src/common/includes')
-rw-r--r-- | src/common/includes/Audio/audio.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/includes/Audio/audio.h b/src/common/includes/Audio/audio.h index a3c70fd..41a8080 100644 --- a/src/common/includes/Audio/audio.h +++ b/src/common/includes/Audio/audio.h @@ -37,16 +37,10 @@ void audio_initialize(int plln,int pllr,int i2sdiv,int i2sodd, int rate); // Power up and down the audio hardware. void audio_put_codec_in_reset(void); void audio_reinit_codec(void); -void audio_on(void); -void audio_off(void); // Set audio volume in steps of 0.5 dB. 0xff is +12 dB. void audio_set_volume(int volume); -// Output one audio sample directly to the hardware without using DMA. -void audio_output_sample(int16_t sample); -void audio_output_sample_without_blocking(int16_t sample); - // Start and stop audio playback using DMA. // Callback is optional, and called whenever a new buffer is needed. void audio_play_with_callback(AudioCallbackFunction *callback,void *context); @@ -58,7 +52,6 @@ void audio_stop(void); // invocation. // Buffers must reside in DMA1-accessible memory, that is, the 128k RAM bank, // or flash. -void audio_provide_buffer(void *samples,int numsamples); bool audio_provide_buffer_without_blocking(void *samples,int numsamples); void DMA1_Stream7_IRQHandler(void); |