Automation woes
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