fix for dmix
git-svn-id: https://svn.musicpd.org/mpd/trunk@3094 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
c1057f0c34
commit
b4da244c5e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user