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

Re: GetParameterList in ableton Live problem


  • Subject: Re: GetParameterList in ableton Live problem
  • From: William Stewart <email@hidden>
  • Date: Tue, 25 Jul 2006 14:32:08 -0700

How does this behave in auval?

On 25/07/2006, at 2:16 PM, Dave Hoskins wrote:

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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >GetParameterList in ableton Live problem (From: "Dave Hoskins" <email@hidden>)

  • Prev by Date: GetParameterList in ableton Live problem
  • Next by Date: SMPTE timestamps
  • Previous by thread: GetParameterList in ableton Live problem
  • Next by thread: Re: GetParameterList in ableton Live problem
  • Index(es):
    • Date
    • Thread