Fix start/stop of multi plugin

The start/stop of sync'ed stream of multi plugin.
This should make some JACK users with multiple devices happier.
This commit is contained in:
Takashi Iwai 2007-03-13 00:40:22 +01:00
parent ffcffac13d
commit 1753ae794f

View file

@ -621,6 +621,7 @@ static int snd_pcm_multi_link_fd(snd_pcm_t *pcm, int *fds, int count, int (**fai
if (multi->slaves[i].linked) if (multi->slaves[i].linked)
snd_pcm_unlink(multi->slaves[i].pcm); snd_pcm_unlink(multi->slaves[i].pcm);
fds[i] = _snd_pcm_link_descriptor(multi->slaves[i].pcm); fds[i] = _snd_pcm_link_descriptor(multi->slaves[i].pcm);
if (i > 0)
multi->slaves[i].linked = 1; multi->slaves[i].linked = 1;
} }
*failed = snd_pcm_multi_link_fd_failed; *failed = snd_pcm_multi_link_fd_failed;