110 |
return std::vector<int>(); |
return std::vector<int>(); |
111 |
} |
} |
112 |
|
|
113 |
|
int AudioOutputDevice::ParameterSampleRate::ValueAsInt() { |
114 |
|
return (pDevice) ? (int) ((AudioOutputDevice*)pDevice)->SampleRate() |
115 |
|
: DeviceCreationParameterInt::ValueAsInt(); |
116 |
|
} |
117 |
|
|
118 |
void AudioOutputDevice::ParameterSampleRate::OnSetValue(int i) throw (Exception) { |
void AudioOutputDevice::ParameterSampleRate::OnSetValue(int i) throw (Exception) { |
119 |
/* cannot happen, as parameter is fix */ |
/* cannot happen, as parameter is fix */ |
120 |
} |
} |
160 |
} |
} |
161 |
|
|
162 |
optional<int> AudioOutputDevice::ParameterChannels::RangeMaxAsInt(std::map<String,String> Parameters) { |
optional<int> AudioOutputDevice::ParameterChannels::RangeMaxAsInt(std::map<String,String> Parameters) { |
163 |
return 100; |
return optional<int>::nothing; |
164 |
} |
} |
165 |
|
|
166 |
std::vector<int> AudioOutputDevice::ParameterChannels::PossibilitiesAsInt(std::map<String,String> Parameters) { |
std::vector<int> AudioOutputDevice::ParameterChannels::PossibilitiesAsInt(std::map<String,String> Parameters) { |