aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-17 01:23:06 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-17 01:23:06 +0000
commitb4da244c5e9e9dc9870a4ec9024c221d8ba117ac (patch)
tree80d6e6835840c3138a7d8e484586f13f27c7e58f /src/audioOutputs
parentc1057f0c347f80579461d6a06f645e2bb1c7b673 (diff)
downloadmpd-b4da244c5e9e9dc9870a4ec9024c221d8ba117ac.tar.gz
mpd-b4da244c5e9e9dc9870a4ec9024c221d8ba117ac.tar.xz
mpd-b4da244c5e9e9dc9870a4ec9024c221d8ba117ac.zip
fix for dmix
git-svn-id: https://svn.musicpd.org/mpd/trunk@3094 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 021c5af48..200b65def 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -239,8 +239,7 @@ static int alsa_openDevice(AudioOutput * audioOutput)
if(err < 0) goto error;
cmd = "snd_pcm_sw_params_set_start_threshold";
- err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams,
- alsa_buffer_size - alsa_period_size);
+ err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams, 0);
if(err < 0) goto error;
cmd = "snd_pcm_sw_params_set_avail_min";