mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
jack: handle client init error with -EIO
This commit is contained in:
parent
b35969c706
commit
715a3a642a
1 changed files with 2 additions and 0 deletions
|
|
@ -63,6 +63,8 @@ static int status_to_result(jack_status_t status)
|
|||
res = -ECONNREFUSED;
|
||||
else if (status & JackVersionError)
|
||||
res = -EPROTO;
|
||||
else if (status & JackInitFailure)
|
||||
res = -EIO;
|
||||
else
|
||||
res = -EFAULT;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue