qemu/audio
Michal Privoznik 4cd78a3db2 audio/pw: Report more accurate error when connecting to PipeWire fails
According to its man page [1], pw_context_connect() sets errno on
failure:

  Returns a Core on success or NULL with errno set on error.

It may be handy to see errno when figuring out why PipeWire
failed to connect. That leaves us with just one possible path to
reach 'fail_error' label which is then moved to that path and
also its error message is adjusted slightly.

1: https://docs.pipewire.org/group__pw__core.html#ga5994e3a54e4ec718094ca02a1234815b

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <3a78811ad5b0e87816b7616ab21d2eeef00b9c52.1726647033.git.mprivozn@redhat.com>
2024-10-14 17:35:24 +04:00
..
alsaaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
audio_int.h audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
audio_template.h audio: commonize voice initialization 2023-10-03 10:29:39 +02:00
audio_win_int.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
audio_win_int.h
audio-hmp-cmds.c audio: return Error ** from audio_state_by_name 2023-10-03 10:29:39 +02:00
audio.c audio/audio.c: remove trailing newline in error_setg 2024-01-05 22:28:54 +03:00
audio.h audio: reintroduce default audio backend for VNC 2023-10-08 21:08:27 +02:00
coreaudio.m audio: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
dbusaudio.c ui: add more tracing for dbus 2024-07-22 12:47:28 +04:00
dsound_template.h
dsoundaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
jackaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
meson.build meson: remove unnecessary dependency 2024-05-25 13:28:02 +02:00
mixeng_template.h
mixeng.c audio: make recording packet length calculation exact 2023-03-06 10:30:23 +04:00
mixeng.h audio: spelling fixes 2023-09-08 13:08:52 +03:00
noaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
ossaudio.c audio/ossaudio: Fix compiler warning with -Wshadow 2023-10-06 10:56:54 +02:00
paaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
pwaudio.c audio/pw: Report more accurate error when connecting to PipeWire fails 2024-10-14 17:35:24 +04:00
rate_template.h audio: make the resampling code greedy 2023-03-06 10:30:23 +04:00
sdlaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
sndioaudio.c audio: remove QEMU_AUDIO_* and -audio-help support 2023-10-03 10:29:39 +02:00
spiceaudio.c audio: allow returning an error from the driver init 2023-10-03 10:29:39 +02:00
trace-events ui: add more tracing for dbus 2024-07-22 12:47:28 +04:00
trace.h
wavaudio.c audio: don't abort on f32 audio format in wav backend 2023-11-07 14:58:54 +00:00
wavcapture.c