audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 28 Nov 2015 21:55:22 +0000 (21:55 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Dec 2015 10:08:11 +0000 (11:08 +0100)
commit95a860f62e185d4100e980d43d348482a6419514
treee1dbc58d10b1e569c92a833eb4fd8954c6542862
parent624d1fc30fd64e082880ca21cae5fadb67d05c64
audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty

The CoreAudio APIs AudioDeviceGetProperty and AudioDeviceSetProperty are
deprecated from OSX 10.6, so factor out our calls to them so we can
provide versions which use the replacement APIs on OSX newer than 10.5.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1448747724-15572-4-git-send-email-peter.maydell@linaro.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/coreaudio.c