Home
last modified time | relevance | path

Searched refs:xGain (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/audio/aidl/default/
DXsdcConversion.cpp170 ConversionResult<AudioGain> convertGainToAidl(const ap_xsd::Gains::Gain& xGain) { in convertGainToAidl() argument
172 .mode = VALUE_OR_FATAL(convertGainModeToAidl(xGain.getMode())), in convertGainToAidl()
174 xGain.hasChannel_mask() in convertGainToAidl()
175 ? VALUE_OR_FATAL(convertChannelMaskToAidl(xGain.getChannel_mask())) in convertGainToAidl()
177 .minValue = xGain.hasMinValueMB() ? xGain.getMinValueMB() : 0, in convertGainToAidl()
178 .maxValue = xGain.hasMaxValueMB() ? xGain.getMaxValueMB() : 0, in convertGainToAidl()
179 .defaultValue = xGain.hasDefaultValueMB() ? xGain.getDefaultValueMB() : 0, in convertGainToAidl()
180 .stepValue = xGain.hasStepValueMB() ? xGain.getStepValueMB() : 0, in convertGainToAidl()
181 .minRampMs = xGain.hasMinRampMs() ? xGain.getMinRampMs() : 0, in convertGainToAidl()
182 .maxRampMs = xGain.hasMaxRampMs() ? xGain.getMaxRampMs() : 0, in convertGainToAidl()
[all …]