qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] coreaudio: Notify error in coreaudio_init_out
@ 2022-02-26 10:02 Akihiko Odaki
  2022-02-26 10:16 ` Christian Schoenebeck
  0 siblings, 1 reply; 4+ messages in thread
From: Akihiko Odaki @ 2022-02-26 10:02 UTC (permalink / raw)
  Cc: Christian Schoenebeck, qemu-devel, Akihiko Odaki, Gerd Hoffmann

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
---
 audio/coreaudio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index d8a21d3e507..d7cfdcc4fc4 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -604,6 +604,8 @@ static int coreaudio_init_out(HWVoiceOut *hw, struct audsettings *as,
             coreaudio_playback_logerr(status,
                                       "Could not remove voice property change listener\n");
         }
+
+        return -1;
     }
 
     return 0;
-- 
2.32.0 (Apple Git-132)



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-26 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-26 10:02 [PATCH] coreaudio: Notify error in coreaudio_init_out Akihiko Odaki
2022-02-26 10:16 ` Christian Schoenebeck
2022-02-26 10:18   ` Akihiko Odaki
2022-02-26 11:30     ` Christian Schoenebeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).