• 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
Automation woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automation woes


  • Subject: Automation woes
  • From: Eric Gorouben <email@hidden>
  • Date: Wed, 23 Jan 2008 12:33:38 +0100

Hi, 


I'm stuck in a problem with automation AU->host

In the constructor :

CInst:: CInst (ComponentInstance au)
: AUMonotimbralInstrumentBase (au, 0, 1)
{
CreateElements();
Globals()->UseIndexedParameters(kNumParams); 
Globals()->SetParameter(0,m_fParam0);
Globals()->SetParameter(1, m_fParam1);
<...>
}


When a slider is moved (I'm using VSTGUI):
void CGui::setParameter(UInt32 index, float value){
OSStatus err=noErr;
AudioUnitParameter sPar={m_pOwnerView->GetEditAudioUnit(), index, kAudioUnitScope_Global, 0};
err=AUParameterSet (m_pParameterListener, this, &sPar, value, 0);
}
(err=noErr)
Nothing happens on the host (Logic Studio) though  SetParameter is properly called by "Dispatch"
What is wrong?

Thanks
E. Gorouben
 _______________________________________________
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: 
 >Doing playthru, using AudioQueue (From: Neil Clayton <email@hidden>)
 >Re: Doing playthru, using AudioQueue (From: William Stewart <email@hidden>)
 >Initial preset in monotimbral instrument AU ? (From: Eric Gorouben <email@hidden>)

  • Prev by Date: Initial preset in monotimbral instrument AU ?
  • Next by Date: Re: I/O device with multiple *independent* SPDIF ports?
  • Previous by thread: Initial preset in monotimbral instrument AU ?
  • Next by thread: Re: Initial preset in monotimbral instrument AU ?
  • Index(es):
    • Date
    • Thread