AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
- Subject: AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
- From: Bertrand Van Kempen <email@hidden>
- Date: Mon, 11 Nov 2013 16:16:31 +0100
- Thread-topic: AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
Hi,
I have a question about kAudioObjectPropertyCustomPropertyInfoList:
For string, I have to use kAudioServerPlugInCustomPropertyDataTypeCFString
For struct/dictionary, I have to use a CFPropertyList (kAudioServerPlugInCustomPropertyDataTypeCFPropertyList)
But, for simple types as uint32_t, should I also use kAudioServerPlugInCustomPropertyDataTypeCFPropertyList.
I noticed that when I provide mPropertyDataType = kAudioServerPlugInCustomPropertyDataTypeNone then I can pass a uint32_t data through Get/GetPropertyData.
It works but I'm not sure it is allowed to do that; do I have to put the uint32_t data to a CFPropertyList and use kAudioServerPlugInCustomPropertyDataTypeCFPropertyList?
If yes, what is the size I should return in GetPropertyDataSize() for a custom property (uint32_t); sizeof(CFPropertyList)?
Do you have a little sample which demonstrates the use of custom properties?
Thanks,
Bertrand
_______________________________________________
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