AudioConfig Class Reference
Struct defining audio configuration.
#include <audioConfig.h>
Public Member Functions | |
AudioConfig (dpyAudio::Parameter parameter, int value) | |
initialization of the class More... | |
AudioConfig () | |
initialization of the class | |
dpyAudio::Parameter | getParameter () const |
int | getValue () const |
void | setValue (const int value) |
Static Public Member Functions | |
static std::string | parameterToString (dpyAudio::Parameter parameter) |
converts a parameter to string More... | |
static dpyAudio::Parameter | stringToParameter (std::string parameter) |
converts a string into a parameter More... | |
Constructor & Destructor Documentation
AudioConfig | ( | dpyAudio::Parameter | parameter, |
int | value | ||
) |
- Parameters
-
parameter parameter value value
Member Function Documentation
dpyAudio::Parameter getParameter | ( | ) | const |
Gets configuration parameter
- Returns
- configuration parameter
int getValue | ( | ) | const |
Gets configuration value
- Returns
- configuration value
|
static |
- Parameters
-
parameter parameter
- Returns
- string representing parameter text
void setValue | ( | const int | value | ) |
Sets configuration value
- Parameters
-
value value to be set
|
static |
- Parameters
-
parameter parameter
- Returns
- parameter representing the text