• 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: Getting parameter info on StereoMixers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting parameter info on StereoMixers


  • Subject: Re: Getting parameter info on StereoMixers
  • From: William Stewart <email@hidden>
  • Date: Thu, 5 Jan 2006 16:29:18 -0800


On 05/01/2006, at 2:21 PM, Stephen Shaw wrote:

I'm a little confused on the usage of kAudioUnitProperty_ParameterInfo, I'm
trying to get the min / max range of the volume & Pan of the mixer

Have a look in <AudioUnit/AudioUnitParameters.h>

I'm not sure that parameter info has been implemented for the stereo mixer

Bill


I can get / set parameters using AudioUnitGetParameter(mMixerUnit, kStereoMixerParam_Volume, kAudioUnitScope_Input, theBusId,&vol);

But with kAudioUnitProperty_ParameterInfo, how do I specify the Parameter
I'm talking about?


AudioUnitParameterInfo    paramInfo;
UInt32    size = sizeof (AudioUnitParameterInfo);

AudioUnitGetProperty (mMixerUnit,           // AudioUnit
        kAudioUnitProperty_ParameterInfo,   // AudioUnitPropertyID
        kAudioUnitScope_Input,              // AudioUnitScope
        theBusId,                           //  AudioUnitElement
        &paramInfo,
        &size);

As always, any help is greatly appriciated :)

-Stephen

 _______________________________________________
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: 
 >Getting parameter info on StereoMixers (From: Stephen Shaw <email@hidden>)

  • Prev by Date: Application Behaviour when AU returns kAudioUnitErr_Unauthorized
  • Next by Date: Re: ramp parameter of output au
  • Previous by thread: Re: Getting parameter info on StereoMixers
  • Next by thread: RE: Getting parameter info on StereoMixers
  • Index(es):
    • Date
    • Thread