Commit 30df7d49 authored by J. Alexander Treuman's avatar J. Alexander Treuman

Reverting patch to "fix" the alsa plugin when used with dmix. It ended up…

Reverting patch to "fix" the alsa plugin when used with dmix. It ended up breaking the alsa rate plugin, and dmix seems to work fine without it. Thanks to Skee from #mpd for testing. git-svn-id: https://svn.musicpd.org/mpd/trunk@4269 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 7716a6c2
...@@ -240,7 +240,8 @@ static int alsa_openDevice(AudioOutput * audioOutput) ...@@ -240,7 +240,8 @@ static int alsa_openDevice(AudioOutput * audioOutput)
if(err < 0) goto error; if(err < 0) goto error;
cmd = "snd_pcm_sw_params_set_start_threshold"; cmd = "snd_pcm_sw_params_set_start_threshold";
err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams, 0); err = snd_pcm_sw_params_set_start_threshold(ad->pcmHandle, swparams,
alsa_buffer_size - alsa_period_size);
if(err < 0) goto error; if(err < 0) goto error;
cmd = "snd_pcm_sw_params_set_avail_min"; cmd = "snd_pcm_sw_params_set_avail_min";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment