mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
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:
parent
ffcffac13d
commit
1753ae794f
1 changed files with 2 additions and 1 deletions
|
|
@ -621,7 +621,8 @@ static int snd_pcm_multi_link_fd(snd_pcm_t *pcm, int *fds, int count, int (**fai
|
|||
if (multi->slaves[i].linked)
|
||||
snd_pcm_unlink(multi->slaves[i].pcm);
|
||||
fds[i] = _snd_pcm_link_descriptor(multi->slaves[i].pcm);
|
||||
multi->slaves[i].linked = 1;
|
||||
if (i > 0)
|
||||
multi->slaves[i].linked = 1;
|
||||
}
|
||||
*failed = snd_pcm_multi_link_fd_failed;
|
||||
return multi->slaves_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue