AudioUnit - CarbonView - Toggling BevelButton
AudioUnit - CarbonView - Toggling BevelButton
- Subject: AudioUnit - CarbonView - Toggling BevelButton
- From: mark erickson <email@hidden>
- Date: Tue, 17 May 2005 16:59:14 -0500
I'm trying to make an AU plug-in using the newest carbon view template for Xcode provided by apple.
I can get sliders and check boxes to work, but I can't seem to get a bevel button that toggles working. It draws fine and seems to track mouse clicks fine. I've tried both defining the
outParameterInfo.unit for this button as both
kAudioUnitParameterUnit_Boolean and
kAudioUnitParameterUnit_Indexed but neither seem to work. Additionally,
outParameterInfo.minValue = 0 and
outParameterInfo.maxValue = 1.
In use,
GetParameter( kParam_One ) always returns 0, never 1.
Is it possible to use a bevelbutton in a toggled, boolean state like this? If so, what am I doing wrong?
Thanks.
Mark
_______________________________________________
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