Searched refs:halGain (Results 1 – 2 of 2) sorted by relevance
71 void HidlUtils::audioGainFromHal(const struct audio_gain& halGain, AudioGain* gain) { in audioGainFromHal() argument72 gain->mode = EnumBitfield<AudioGainMode>(halGain.mode); in audioGainFromHal()73 gain->channelMask = EnumBitfield<AudioChannelMask>(halGain.channel_mask); in audioGainFromHal()74 gain->minValue = halGain.min_value; in audioGainFromHal()75 gain->maxValue = halGain.max_value; in audioGainFromHal()76 gain->defaultValue = halGain.default_value; in audioGainFromHal()77 gain->stepValue = halGain.step_value; in audioGainFromHal()78 gain->minRampMs = halGain.min_ramp_ms; in audioGainFromHal()79 gain->maxRampMs = halGain.max_ramp_ms; in audioGainFromHal()82 void HidlUtils::audioGainToHal(const AudioGain& gain, struct audio_gain* halGain) { in audioGainToHal() argument[all …]
45 static void audioGainFromHal(const struct audio_gain& halGain, AudioGain* gain);46 static void audioGainToHal(const AudioGain& gain, struct audio_gain* halGain);