• 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: Clump name and AULab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clump name and AULab


  • Subject: Re: Clump name and AULab
  • From: philippe wicker <email@hidden>
  • Date: Thu, 27 Jul 2006 09:48:53 +0200


On Jul 27, 2006, at 12:01 AM, William Stewart wrote:


On 26/07/2006, at 1:53 PM, William Stewart wrote:

The host uses the clumpID (not the paramID) to get the names for the clumps. You set the clumpID for a param in the normal way of course...

You have to implement GetPropertyInfo too of course:
case kAudioUnitProperty_ParameterClumpName:
if(inScope != CHECK FOR VALID SCOPE ) return kAudioUnitErr_InvalidScope;
outDataSize = sizeof(AudioUnitParameterNameInfo );
outWritable = false;
break;


Then in GetProperty - you have to retain the string = the client will release it:

case kAudioUnitProperty_ParameterClumpName:
{
if(inScope != CHECK FOR VALID SCOPE) return kAudioUnitErr_InvalidScope;

AudioUnitParameterNameInfo &info = *((AudioUnitParameterNameInfo *)outData);

switch(info.inID)
{
case 1: CFRetain(kGain_Name); info.outName = kGain_Name; break;
case 2: CFRetain(kCrossoverFrequencies_Name); info.outName = kCrossoverFrequencies_Name; break;


				case 3: CFRetain(kBand1_Name); info.outName = kBand1_Name;  break;

The element isn't being used in the get property call

HTH

Thanks Bill, it's working now.


Bill

_______________________________________________
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


  • Prev by Date: for Apple guys: possible plugin name collision?
  • Next by Date: Host Support for Musical Time Callback Methods
  • Previous by thread: Re: Clump name and AULab
  • Next by thread: Clocks and MusicPlayers
  • Index(es):
    • Date
    • Thread