54 |
|
|
55 |
class ParameterActive : public DeviceCreationParameterBool { |
class ParameterActive : public DeviceCreationParameterBool { |
56 |
public: |
public: |
57 |
ParameterActive(AudioOutputDevice* pDevice) { this->pDevice = pDevice; } |
ParameterActive(AudioOutputDevice* pDevice) { this->pDevice = pDevice; InitWithDefault(); } |
58 |
virtual String Description() { return "Enable / disable device"; } |
virtual String Description() { return "Enable / disable device"; } |
59 |
virtual bool Fix() { return false; } |
virtual bool Fix() { return false; } |
60 |
virtual bool Mandatory() { return false; } |
virtual bool Mandatory() { return false; } |
67 |
|
|
68 |
class ParameterSampleRate : public DeviceCreationParameterInt { |
class ParameterSampleRate : public DeviceCreationParameterInt { |
69 |
public: |
public: |
70 |
ParameterSampleRate(AudioOutputDevice* pDevice) { this->pDevice = pDevice; } |
ParameterSampleRate(AudioOutputDevice* pDevice) { this->pDevice = pDevice; InitWithDefault(); } |
71 |
virtual String Description() { return "Output sample rate"; } |
virtual String Description() { return "Output sample rate"; } |
72 |
virtual bool Fix() { return true; } |
virtual bool Fix() { return true; } |
73 |
virtual bool Mandatory() { return false; } |
virtual bool Mandatory() { return false; } |
83 |
|
|
84 |
class ParameterChannels : public DeviceCreationParameterInt { |
class ParameterChannels : public DeviceCreationParameterInt { |
85 |
public: |
public: |
86 |
ParameterChannels(AudioOutputDevice* pDevice) { this->pDevice = pDevice; } |
ParameterChannels(AudioOutputDevice* pDevice) { this->pDevice = pDevice; InitWithDefault(); } |
87 |
virtual String Description() { return "Number of output channels"; } |
virtual String Description() { return "Number of output channels"; } |
88 |
virtual bool Fix() { return false; } |
virtual bool Fix() { return false; } |
89 |
virtual bool Mandatory() { return false; } |
virtual bool Mandatory() { return false; } |