qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 88a0f8: audio/coreaudio.c: Factor out use of


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 88a0f8: audio/coreaudio.c: Factor out use of AudioHardware...
Date: Thu, 17 Dec 2015 04:00:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 88a0f8300b7478d4b9cf3d6679e9f8f7f0db4b0d
      
https://github.com/qemu/qemu/commit/88a0f8300b7478d4b9cf3d6679e9f8f7f0db4b0d
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-15 (Tue, 15 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  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 <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 624d1fc30fd64e082880ca21cae5fadb67d05c64
      
https://github.com/qemu/qemu/commit/624d1fc30fd64e082880ca21cae5fadb67d05c64
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-15 (Tue, 15 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  audio/coreaudio.c: Use new-in-OSX-10.6 API for getting default voice

If we're building for OSX 10.6 or better, use the new API
AudioObjectGetPropertyData for getting the default voice.

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 95a860f62e185d4100e980d43d348482a6419514
      
https://github.com/qemu/qemu/commit/95a860f62e185d4100e980d43d348482a6419514
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-15 (Tue, 15 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  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 <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2d99f6299bb98e4e87aa71996a44439f2c62969d
      
https://github.com/qemu/qemu/commit/2d99f6299bb98e4e87aa71996a44439f2c62969d
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-15 (Tue, 15 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  audio/coreaudio.c: Use new-in-OSX-10.6 APIs when available

Use the new-in-OSX 10.6 API AudioObjectGetPropertyData() instead
of the deprecated AudioDeviceGetProperty() and AudioDeviceSetProperty()
functions when possible.

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2f79a18fdd6e8e75ab9bd4edc90a641ab730824d
      
https://github.com/qemu/qemu/commit/2f79a18fdd6e8e75ab9bd4edc90a641ab730824d
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-15 (Tue, 15 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  audio/coreaudio.c: Avoid deprecated AudioDeviceAdd/RemoveIOProc APIs

The AudioDeviceAddIOProc() and AudioDeviceRemoveIOProc() functions were
deprecated in OSX 10.5. Since we don't support any earlier versions of
OSX, we can simply replace them with the new APIs
AudioDeviceCreateIOProcID() and AudioDeviceRemoveIOProcID().

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: fc77eb20d78e303ef11482288e185d856431f02f
      
https://github.com/qemu/qemu/commit/fc77eb20d78e303ef11482288e185d856431f02f
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-17 (Thu, 17 Dec 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-audio-20151215-1' into 
staging

coreaudio: use new-in-OSX-10.6 APIs, cleanups.

# gpg: Signature made Tue 15 Dec 2015 10:15:24 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-audio-20151215-1:
  audio/coreaudio.c: Avoid deprecated AudioDeviceAdd/RemoveIOProc APIs
  audio/coreaudio.c: Use new-in-OSX-10.6 APIs when available
  audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty
  audio/coreaudio.c: Use new-in-OSX-10.6 API for getting default voice
  audio/coreaudio.c: Factor out use of AudioHardwareGetProperty

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/dc337c6e26ab...fc77eb20d78e

reply via email to

[Prev in Thread] Current Thread [Next in Thread]