diff options
Diffstat (limited to 'libs/appleutility/AUParamInfo.h')
-rw-r--r-- | libs/appleutility/AUParamInfo.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/appleutility/AUParamInfo.h b/libs/appleutility/AUParamInfo.h index b5f7c26345..e20e14b259 100644 --- a/libs/appleutility/AUParamInfo.h +++ b/libs/appleutility/AUParamInfo.h @@ -37,7 +37,7 @@ */ /*============================================================================= AUParamInfo.h - + =============================================================================*/ #include <map> #include <vector> @@ -48,7 +48,7 @@ The ParameterMap returned by the Map() method is a map where - the key is the clumpID - the value is a ParameterList (vector<CAAUParameter>) - + If you have parameters on multiple scopes (or elements within a scope), then you should create one of these for each scope-element pair */ @@ -66,40 +66,40 @@ public: bool inIncludeReadOnly, AudioUnitScope inScope = kAudioUnitScope_Global, AudioUnitElement inElement = 0); - + ~AUParamInfo(); - + const ParameterMap& Map () const { return mParams; } - + // some convenience methods UInt32 NumParams () const { return mNumParams; } - + AudioUnitParameterID ParamID (UInt32 inIndex) const { if (inIndex < mNumParams) return mParamListID[inIndex]; return 0xFFFFFFFF; } - + UInt32 NumClumps () const { return mParams.size(); } UInt32 NumParamsForClump (UInt32 inClump) const; - + // returns NULL if there's no info for the parameter const CAAUParameter* GetParamInfo (AudioUnitParameterID inParamID) const; - + AudioUnitScope GetScope () const { return mScope; } AudioUnitElement GetElement () const { return mElement; } - + private: AudioUnit mAU; UInt32 mNumParams; AudioUnitParameterID * mParamListID; - + ParameterMap mParams; AudioUnitScope mScope; AudioUnitElement mElement; - + // disallow AUParamInfo () {} AUParamInfo (const AUParamInfo &) {} |