• 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
GetParameterList in ableton Live problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GetParameterList in ableton Live problem


  • Subject: GetParameterList in ableton Live problem
  • From: "Dave Hoskins" <email@hidden>
  • Date: Tue, 25 Jul 2006 22:16:44 +0100

Hi, I've implemented a GetParamterList which looks like it enables the parameter control drop down menus in Live - all my variables are displayed correctly.  I've debugged it and it appears to return the size (47) first then duly allocate the block for the list is the AU dispatch code.
The problem is that it completely messes up my GUI, with weird lines everywhere and NaN variables displayed. Has anybody had this problem that can help? This is the single bit of code that seems to cause havoc..
 
ComponentResult EffectBaseAU::GetParameterList(AudioUnitScope iScope, AudioUnitParameterID* asIDList, UInt32& riNum)
{
    // Returns the parameter list.
    if (iScope==kAudioUnitScope_Global)
    {
        if (asIDList)
        {
            for (UInt32 i=0; i < TAGnumParams; i++) asIDList[i]=i;
        }
        riNum = TAGnumParams;
       
        return noErr;
    }
    return AUBase::GetParameterList(iScope, asIDList, riNum);
}
 
cheers,
Dave Hoskins
www.quikquak.com
 
 _______________________________________________
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: GetParameterList in ableton Live problem
      • From: "Dave Hoskins" <email@hidden>
    • Re: GetParameterList in ableton Live problem
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Audio files and loop marker question
  • Next by Date: Re: GetParameterList in ableton Live problem
  • Previous by thread: Re: ExtAudioFileWriteAsync problem
  • Next by thread: Re: GetParameterList in ableton Live problem
  • Index(es):
    • Date
    • Thread