qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] audio/coreaudio.c: Fix deprecation warnings
@ 2015-11-28 21:55 Peter Maydell
  2015-11-28 21:55 ` [Qemu-devel] [PATCH 1/5] audio/coreaudio.c: Factor out use of AudioHardwareGetProperty Peter Maydell
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Peter Maydell @ 2015-11-28 21:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: John Arbuckle, Andreas Färber, Gerd Hoffmann, patches

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-01 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-28 21:55 [Qemu-devel] [PATCH 0/5] audio/coreaudio.c: Fix deprecation warnings Peter Maydell
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

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).