[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/13] audio: allow returning an error from the driver init
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 03/13] audio: allow returning an error from the driver init |
Date: |
Thu, 28 Sep 2023 09:16:39 +0100 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
On Thu, Sep 28, 2023 at 09:36:47AM +0200, Paolo Bonzini wrote:
> An error is already printed by audio_driver_init, but we can make
> it more precise if the driver can return an Error *.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> audio/alsaaudio.c | 2 +-
> audio/audio.c | 11 +++++++++--
> audio/audio_int.h | 2 +-
> audio/coreaudio.m | 2 +-
> audio/dbusaudio.c | 2 +-
> audio/dsoundaudio.c | 2 +-
> audio/jackaudio.c | 2 +-
> audio/noaudio.c | 2 +-
> audio/ossaudio.c | 11 ++++++++---
> audio/paaudio.c | 7 +++++--
> audio/pwaudio.c | 16 +++++++++-------
> audio/sdlaudio.c | 5 +++--
> audio/sndioaudio.c | 2 +-
> audio/spiceaudio.c | 5 ++++-
> audio/wavaudio.c | 2 +-
> 15 files changed, 47 insertions(+), 26 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 00/13] Cleanup deprecated audio features, take 2, Paolo Bonzini, 2023/09/28
- [PATCH 02/13] audio: Require AudioState in AUD_add_capture, Paolo Bonzini, 2023/09/28
- [PATCH 03/13] audio: allow returning an error from the driver init, Paolo Bonzini, 2023/09/28
- Re: [PATCH 03/13] audio: allow returning an error from the driver init,
Daniel P . Berrangé <=
- [PATCH 01/13] ui/vnc: Require audiodev= to enable audio, Paolo Bonzini, 2023/09/28
- [PATCH 04/13] audio: return Error ** from audio_state_by_name, Paolo Bonzini, 2023/09/28
- [PATCH 05/13] audio: commonize voice initialization, Paolo Bonzini, 2023/09/28
- [PATCH 06/13] audio: simplify flow in audio_init, Paolo Bonzini, 2023/09/28
- [PATCH 08/13] Introduce machine property "audiodev", Paolo Bonzini, 2023/09/28
- [PATCH 07/13] audio: remove QEMU_AUDIO_* and -audio-help support, Paolo Bonzini, 2023/09/28
- [PATCH 10/13] hw/ppc: Support machine-default audiodev with fallback, Paolo Bonzini, 2023/09/28
- [PATCH 09/13] hw/arm: Support machine-default audiodev with fallback, Paolo Bonzini, 2023/09/28