mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: don't try to link when prepare fails
This commit is contained in:
parent
8f2ee0a29c
commit
840a9487a4
1 changed files with 2 additions and 1 deletions
|
|
@ -3042,7 +3042,8 @@ int spa_alsa_prepare(struct state *state)
|
|||
|
||||
spa_list_for_each(follower, &state->followers, driver_link) {
|
||||
if (follower != state && !follower->matching) {
|
||||
spa_alsa_prepare(follower);
|
||||
if (spa_alsa_prepare(follower) < 0)
|
||||
continue;
|
||||
if (!follower->linked && state->auto_link)
|
||||
do_link(state, follower);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue