• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
      • From: Jeff Moore <email@hidden>
References: 
 >AudioServerPlugin persistent storage (From: Bertrand Van Kempen <email@hidden>)
 >AudioServerPlugin (From: Bertrand Van Kempen <email@hidden>)
 >Re: AudioServerPlugin (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Reverb audio unit does not work on iOS for me
  • Next by Date: CoreMIDI USB speed iOS vs. OSX
  • Previous by thread: Re: AudioServerPlugin
  • Next by thread: Re: AudioServerPlugin: kAudioObjectPropertyCustomPropertyInfoList
  • Index(es):
    • Date
    • Thread