filename | src/drivers/audio_alsa.c |
changeset | 880:214979b3bc80 |
prev | 806:6ef1ce4a9dbc |
next | 1021:848db285a184 |
author | nkeynes |
date | Thu Jan 15 04:15:11 2009 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C) - Rename Obj-C source to .m - Separate paths.c into paths_unix.c and paths_osx.m - Add configuration detection of ICC, along with specific opt flags |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/audio_alsa.c Fri Aug 08 00:17:57 2008 +00001.2 +++ b/src/drivers/audio_alsa.c Thu Jan 15 04:15:11 2009 +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));
.