coreaudio: Notify error in coreaudio_init_out
commitbd7819de227f47df72e21558c019147673726a74
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Sat, 26 Feb 2022 11:59:53 +0000 (26 20:59 +0900)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Mar 2022 10:22:40 +0000 (4 11:22 +0100)
treeaa7bc2ccfa8034f404ea032de76b1e351d4f199a
parentfedc1c19155f78f4f5be58092cd54cef0ea874ff
coreaudio: Notify error in coreaudio_init_out

Otherwise, the audio subsystem tries to use the voice and
eventually aborts due to the maximum number of samples in the
buffer is not set.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220226115953.60335-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/coreaudio.c