Re: Deprated coreaudio functions in 10.6
Re: Deprated coreaudio functions in 10.6
- Subject: Re: Deprated coreaudio functions in 10.6
- From: Jeff Moore <email@hidden>
- Date: Tue, 8 Sep 2009 12:23:19 -0700
As it says in the comments in <CoreAudio/AudioHardware.h>,
AudioHardwareGetProperty() is replaced by AudioObjectGetPropertyData()
and AudioDeviceGetPropertyInfo() is replaced by AudioObjectHasProperty
(), AudioObjectIsPropertySettable(), or AudioObjectGetPropertyDataSize
() depending on what information you are looking for.
On Sep 8, 2009, at 12:14 PM, Stéphane Beauchemin wrote:
I got those warning trying to compile my code using 10.6 SDK.
'AudioHardwareGetProperty' is deprecated (declared at /Developer/
SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreAudio.framework/
Headers/AudioHardware.h:1119)
'AudioDeviceGetPropertyInfo' is deprecated (declared at /Developer/
SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreAudio.framework/
Headers/AudioHardware.h:2338)
Ok those functions are deprecated, but what should we use instead? I
haven’t found anything in the documentation about a substitute
function.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden