• 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
Re: Newb: AudioUnitGetPropertyInfo value types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newb: AudioUnitGetPropertyInfo value types


  • Subject: Re: Newb: AudioUnitGetPropertyInfo value types
  • From: Brian Willoughby <email@hidden>
  • Date: Mon, 15 Sep 2008 16:26:40 -0700

Keep in mind that you should never have to deal with vendor-defined types. Either the type is defined by Apple, and it can be passed between a host and an AU (either the UI or engine part), or the type is vendor-unique, and only the AU itself can pass the type (between UI and audio engine). In other words, if a vendor defines their own type, then only the vendor will be able to access it.

That said, it can be rather difficult to find the struct definition for some of the more esoteric Apple types. In a few cases, they abuse existing structs that were designed for other purposes instead of defining a new type that is specific to the property. Sometimes the only documentation for those types is somewhere in the archives for this mailing list, and nowhere else.

Brian Willoughby
Sound Consulting


On Sep 15, 2008, at 15:28, Jamie Hardt wrote:
Newbie question: For the AudioUnitGetPropertyInfo()/ AudioUnitGetProperty()/AudioUnitSetProperty() merry trio, I can get the size of the *outData by passing a pointer, I see, but does anyone know if the -type- of pointer returned by the various properties is documented anywhere? Obviously vendors will have their own, but the basic ones seem to return *doubles, or *long, or *AudioStreamBasicDescription's, or arrays of various things and I can't figure out how to determine this programatically or from reading.


_______________________________________________
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


References: 
 >Newb: AudioUnitGetPropertyInfo value types (From: Jamie Hardt <email@hidden>)

  • Prev by Date: Re: Finding the DLS Synth
  • Next by Date: Re: Finding the DLS Synth
  • Previous by thread: Re: Newb: AudioUnitGetPropertyInfo value types [resolved]
  • Next by thread: "ERROR: View Component specified, but can't be found"
  • Index(es):
    • Date
    • Thread