audio/coreaudio.c: Factor out use of AudioHardwareGetProperty
commit88a0f8300b7478d4b9cf3d6679e9f8f7f0db4b0d
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 28 Nov 2015 21:55:20 +0000 (28 21:55 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Dec 2015 10:08:11 +0000 (15 11:08 +0100)
treeca918e88ad8f990d92e5ae0f49366f93f1f242ad
parentf05b42d3fd30bb9673cc1ac1ee8c2af8f669964e
audio/coreaudio.c: Factor out use of AudioHardwareGetProperty

The CoreAudio function AudioHardwareGetProperty has been deprecated
starting with OSX 10.6, so factor out our call to it so we can
provide an equivalent with the new APIs when they exist.

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