From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "John Arbuckle" <programmingkidx@gmail.com>,
"Andreas Färber" <andreas.faerber@web.de>,
"Gerd Hoffmann" <kraxel@redhat.com>,
patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/5] audio/coreaudio.c: Fix deprecation warnings
Date: Sat, 28 Nov 2015 21:55:19 +0000 [thread overview]
Message-ID: <1448747724-15572-1-git-send-email-peter.maydell@linaro.org> (raw)
The coreaudio.c code has for some years now produced compilation
warnings about our use of various APIs that were deprecated starting
with OSX 10.6. This patchset updates our code to use their replacements.
I have been a bit conservative with the approach to moving away from
AudioDeviceGetProperty/AudioDeviceSetProperty, because different sources
on the web suggest either 10.6 or 10.5 was the point at which you could
move to AudioObjectGetProperty/AudioObjectSetProperty, but I don't have
a 10.5 system to test with. So I've left the old code in for when building
on 10.5 (removing it would be a trivial matter of dropping a lot of ifdeffed
code).
Incidentally, on the subject of OSX 10.5, I think we should finally
drop support for it unless anybody would like to volunteer to actually
test building on it. I'll send a separate email about that.
(This patch set is intended for 2.6, not 2.5.)
Peter Maydell (5):
audio/coreaudio.c: Factor out use of AudioHardwareGetProperty
audio/coreaudio.c: Use new-in-OSX-10.6 API for getting default voice
audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty
audio/coreaudio.c: Use new-in-OSX-10.6 APIs when available
audio/coreaudio.c: Avoid deprecated AudioDeviceAdd/RemoveIOProc APIs
audio/coreaudio.c | 314 +++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 252 insertions(+), 62 deletions(-)
--
2.6.2
next reply other threads:[~2015-11-28 21:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-28 21:55 Peter Maydell [this message]
2015-11-28 21:55 ` [Qemu-devel] [PATCH 1/5] audio/coreaudio.c: Factor out use of AudioHardwareGetProperty Peter Maydell
2015-11-28 21:55 ` [Qemu-devel] [PATCH 2/5] audio/coreaudio.c: Use new-in-OSX-10.6 API for getting default voice Peter Maydell
2015-11-28 21:55 ` [Qemu-devel] [PATCH 3/5] audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty Peter Maydell
2015-11-28 21:55 ` [Qemu-devel] [PATCH 4/5] audio/coreaudio.c: Use new-in-OSX-10.6 APIs when available Peter Maydell
2015-11-28 21:55 ` [Qemu-devel] [PATCH 5/5] audio/coreaudio.c: Avoid deprecated AudioDeviceAdd/RemoveIOProc APIs Peter Maydell
2015-12-01 16:27 ` [Qemu-devel] [PATCH 0/5] audio/coreaudio.c: Fix deprecation warnings Programmingkid
2015-12-01 16:39 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448747724-15572-1-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=andreas.faerber@web.de \
--cc=kraxel@redhat.com \
--cc=patches@linaro.org \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).