• 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
AudioUnit - CarbonView - Toggling BevelButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AudioUnit - CarbonView - Toggling BevelButton
      • From: Luke Bellandi <email@hidden>
  • Prev by Date: kAudioDevicePropertyStreamConfiguration returns incorrect buffer size
  • Next by Date: Re: AudioUnit - CarbonView - Toggling BevelButton
  • Previous by thread: kAudioDevicePropertyStreamConfiguration returns incorrect buffer size
  • Next by thread: Re: AudioUnit - CarbonView - Toggling BevelButton
  • Index(es):
    • Date
    • Thread