filename | src/drivers/audio_alsa.c |
changeset | 669:ab344e42bca9 |
prev | 643:653b0a70f173 |
next | 697:479b8c213f61 |
author | nkeynes |
date | Mon May 12 10:00:13 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Cleanup most of the -Wall warnings (getting a bit sloppy...) Convert FP code to use fixed banks rather than indirect pointer (3-4% faster this way now) |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/audio_alsa.c Tue Feb 26 01:10:48 2008 +00001.2 +++ b/src/drivers/audio_alsa.c Mon May 12 10:00:13 2008 +00001.3 @@ -28,7 +28,6 @@1.6 static snd_pcm_t *_soundDevice = NULL;1.7 -static int frames;1.8 static int frame_bytes;1.11 @@ -40,21 +39,16 @@1.13 gboolean audio_alsa_init( )1.14 {1.15 - int err;1.16 -1.17 return TRUE;1.18 }1.21 gboolean audio_alsa_set_format( uint32_t rate, uint32_t format )1.22 {1.23 - int i;1.24 int err;1.25 snd_pcm_hw_params_t *hw_params;1.26 snd_pcm_sw_params_t *sw_params;1.27 snd_pcm_uframes_t frames;1.28 - unsigned int resample = 1;1.29 - unsigned int actualRate = rate;1.30 snd_pcm_uframes_t bufferSize;1.31 int dir;1.33 @@ -187,8 +181,6 @@1.35 gboolean audio_alsa_close( )1.36 {1.37 - int err;1.38 -1.39 return TRUE;1.40 }
.