revision 880:214979b3bc80
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 880:214979b3bc80 |
parent | 879:a07af43e03c4 |
child | 881:10b67e485aa4 |
author | nkeynes |
date | Sun Oct 19 06:34:27 2008 +0000 (15 years ago) |
increase start threshold to the full buffer size (sounds a bit better)
1.1 --- a/src/drivers/audio_alsa.c Sun Oct 19 05:42:05 2008 +00001.2 +++ b/src/drivers/audio_alsa.c Sun Oct 19 06:34:27 2008 +00001.3 @@ -140,7 +140,7 @@1.4 // Set the start threshold to reduce inter-buffer gaps1.5 snd_pcm_sw_params_alloca( &sw_params );1.6 snd_pcm_sw_params_current( _soundDevice, sw_params );1.7 - snd_pcm_sw_params_set_start_threshold( _soundDevice, sw_params, bufferSize/2 );1.8 + snd_pcm_sw_params_set_start_threshold( _soundDevice, sw_params, bufferSize );1.9 err = snd_pcm_sw_params( _soundDevice, sw_params );1.10 if( err < 0 ) {1.11 ERROR("Unable to set sw params for alsa driver: %s\n", snd_strerror(err));
.