diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/appleutility/CAAUParameter.h | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/appleutility/CAAUParameter.h')
-rw-r--r-- | libs/appleutility/CAAUParameter.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/libs/appleutility/CAAUParameter.h b/libs/appleutility/CAAUParameter.h index 4f35b26353..143a798006 100644 --- a/libs/appleutility/CAAUParameter.h +++ b/libs/appleutility/CAAUParameter.h @@ -63,15 +63,15 @@ public: ~CAAUParameter(); /*! @method operator <@ */ - bool operator < (const CAAUParameter &a) const - { - return memcmp(this, &a, sizeof(AudioUnitParameter)) < 0; + bool operator < (const CAAUParameter &a) const + { + return memcmp(this, &a, sizeof(AudioUnitParameter)) < 0; } /*! @method operator ==@ */ - bool operator == (const CAAUParameter &a) const - { - return !memcmp(this, &a, sizeof(AudioUnitParameter)); + bool operator == (const CAAUParameter &a) const + { + return !memcmp(this, &a, sizeof(AudioUnitParameter)); } /*! @method operator =@ */ @@ -80,12 +80,12 @@ public: /*! @method GetValue */ Float32 GetValue() const; /*! @method SetValue */ - void SetValue( AUParameterListenerRef inListener, + void SetValue( AUParameterListenerRef inListener, void * inObject, Float32 inValue) const; /*! @method GetName */ - CFStringRef GetName() const { return mParamName; } + CFStringRef GetName() const { return mParamName; } // borrowed reference! /*! @method GetStringFromValueCopy */ @@ -94,9 +94,9 @@ public: // or null if there is no name associated // caller must release /*! @method ValuesHaveStrings */ - bool ValuesHaveStrings () const - { - return (mParamInfo.flags & kAudioUnitParameterFlag_ValuesHaveStrings) != 0; + bool ValuesHaveStrings () const + { + return (mParamInfo.flags & kAudioUnitParameterFlag_ValuesHaveStrings) != 0; } /*! @method GetValueFromString */ @@ -109,16 +109,16 @@ public: /*! @method GetParamTag */ CFStringRef GetParamTag() const { return mParamTag; } - // this may return null! - + // this may return null! - // in which case there is no descriptive tag for the parameter /*! @method GetParamName */ CFStringRef GetParamName (int inIndex) const // this can return null if there is no name for the parameter - { - return (mNamedParams && inIndex < mNumIndexedParams) + { + return (mNamedParams && inIndex < mNumIndexedParams) ? (CFStringRef) CFArrayGetValueAtIndex(mNamedParams, inIndex) - : 0; + : 0; } /*! @method GetNumIndexedParams */ @@ -131,8 +131,8 @@ public: bool HasNamedParams () const { return IsIndexedParam() && mNamedParams; } /*! @method GetClumpID */ - bool GetClumpID (UInt32 &outClumpID) const - { + bool GetClumpID (UInt32 &outClumpID) const + { if (mParamInfo.flags & kAudioUnitParameterFlag_HasClump) { outClumpID = mParamInfo.clumpID; return true; @@ -141,15 +141,15 @@ public: } /*! @method HasDisplayTransformation */ - bool HasDisplayTransformation () const - { - return GetAudioUnitParameterDisplayType (mParamInfo.flags); + bool HasDisplayTransformation () const + { + return GetAudioUnitParameterDisplayType (mParamInfo.flags); } /*! @method IsExpert */ - bool IsExpert () const - { - return mParamInfo.flags & kAudioUnitParameterFlag_ExpertMode; + bool IsExpert () const + { + return mParamInfo.flags & kAudioUnitParameterFlag_ExpertMode; } #if DEBUG void Print () const; |