Audacity 3.2.0
|
Encapsulates parameter information for an AudioUnit. More...
#include <AudioUnitWrapper.h>
Public Member Functions | |
ParameterInfo (AudioUnit mUnit, AudioUnitParameterID parmID) | |
Make a structure holding a key for the config file and a value. More... | |
Static Public Member Functions | |
static std::optional< AudioUnitParameterID > | ParseKey (const wxString &key) |
Recover the parameter ID from the key, if well formed. More... | |
Public Attributes | |
std::optional< wxString > | mName |
AudioUnitUtils::ParameterInfo | mInfo {} |
Static Private Attributes | |
static constexpr char | idBeg = wxT('<') |
static constexpr char | idSep = wxT(',') |
static constexpr char | idEnd = wxT('>') |
Encapsulates parameter information for an AudioUnit.
Definition at line 206 of file AudioUnitWrapper.h.
AudioUnitWrapper::ParameterInfo::ParameterInfo | ( | AudioUnit | mUnit, |
AudioUnitParameterID | parmID | ||
) |
Make a structure holding a key for the config file and a value.
Definition at line 68 of file AudioUnitWrapper.cpp.
References AudioUnitUtils::GetFixedSizeProperty(), idBeg, idEnd, idSep, mInfo, mName, AudioUnitWrapper::mUnit, name, and wxT().
|
static |
Recover the parameter ID from the key, if well formed.
Definition at line 127 of file AudioUnitWrapper.cpp.
References details::end(), and key.
Referenced by AudioUnitEffectBase::LoadSettings().
|
staticconstexprprivate |
Definition at line 219 of file AudioUnitWrapper.h.
Referenced by ParameterInfo().
|
staticconstexprprivate |
Definition at line 221 of file AudioUnitWrapper.h.
Referenced by ParameterInfo().
|
staticconstexprprivate |
Definition at line 220 of file AudioUnitWrapper.h.
Referenced by ParameterInfo().
AudioUnitUtils::ParameterInfo AudioUnitWrapper::ParameterInfo::mInfo {} |
Definition at line 215 of file AudioUnitWrapper.h.
Referenced by ParameterInfo().
std::optional<wxString> AudioUnitWrapper::ParameterInfo::mName |
Definition at line 214 of file AudioUnitWrapper.h.
Referenced by ParameterInfo().