]> git.proxmox.com Git - mirror_qemu.git/commit - audio/coreaudio.m
coreaudio: Always return 0 in handle_voice_change
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Sun, 6 Mar 2022 12:34:10 +0000 (21:34 +0900)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 15 Mar 2022 12:36:33 +0000 (13:36 +0100)
commit44ccb2dbe9047586e3fb94bb2ece222e112e5eaf
treed347c51239d63bd1dde86f056fe477899f9196ec
parent8e30d39bade3010387177ca23dbc2244352ed4a3
coreaudio: Always return 0 in handle_voice_change

handle_voice_change() is a CoreAudio callback function as of CoreAudio type
AudioObjectPropertyListenerProc, and for the latter MacOSX.sdk/System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h
says "The return value is currently unused and should always be 0.".

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220306123410.61063-1-akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
audio/coreaudio.c