/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 71 void HidlUtils::audioGainFromHal(const struct audio_gain& halGain, AudioGain* gain) { in audioGainFromHal() argument 72 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 …]
|
D | HidlUtils.h | 45 static void audioGainFromHal(const struct audio_gain& halGain, AudioGain* gain); 46 static void audioGainToHal(const AudioGain& gain, struct audio_gain* halGain);
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | Util.h | 37 constexpr bool isGainNormalized(float gain) { in isGainNormalized() argument 38 return gain >= 0.0 && gain <= 1.0; in isGainNormalized()
|
/hardware/interfaces/audio/effect/5.0/ |
D | ILoudnessEnhancerEffect.hal | 24 * Sets target gain expressed in millibels. 29 * Gets target gain expressed in millibels.
|
D | IAutomaticGainControlEffect.hal | 34 * Sets gain in the compression range in millibels. 39 * Gets gain in the compression range.
|
D | IEqualizerEffect.hal | 35 * Sets the gain for the given equalizer band. 40 * Gets the gain for the given equalizer band.
|
/hardware/interfaces/audio/effect/4.0/ |
D | ILoudnessEnhancerEffect.hal | 24 * Sets target gain expressed in millibels. 29 * Gets target gain expressed in millibels.
|
D | IAutomaticGainControlEffect.hal | 34 * Sets gain in the compression range in millibels. 39 * Gets gain in the compression range.
|
D | IEqualizerEffect.hal | 35 * Sets the gain for the given equalizer band. 40 * Gets the gain for the given equalizer band.
|
/hardware/interfaces/audio/effect/6.0/ |
D | ILoudnessEnhancerEffect.hal | 24 * Sets target gain expressed in millibels. 29 * Gets target gain expressed in millibels.
|
D | IAutomaticGainControlEffect.hal | 34 * Sets gain in the compression range in millibels. 39 * Gets gain in the compression range.
|
D | IEqualizerEffect.hal | 35 * Sets the gain for the given equalizer band. 40 * Gets the gain for the given equalizer band.
|
/hardware/interfaces/audio/effect/2.0/ |
D | ILoudnessEnhancerEffect.hal | 24 * Sets target gain expressed in millibels. 29 * Gets target gain expressed in millibels.
|
D | IAutomaticGainControlEffect.hal | 34 * Sets gain in the compression range in millibels. 39 * Gets gain in the compression range.
|
D | IEqualizerEffect.hal | 35 * Sets the gain for the given equalizer band. 40 * Gets the gain for the given equalizer band.
|
/hardware/interfaces/audio/common/6.0/ |
D | types.hal | 808 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 812 float gain; 824 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 828 float gain; 852 * Type of gain control exposed by an audio port. 856 JOINT = 0x1, // supports joint channel gain control 857 CHANNELS = 0x2, // supports separate channel gain control 858 RAMP = 0x4 // supports gain ramps 862 * An audio_gain struct is a representation of a gain stage. 863 * A gain stage is always attached to an audio port. [all …]
|
/hardware/interfaces/audio/common/5.0/ |
D | types.hal | 802 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 806 float gain; 818 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 822 float gain; 846 * Type of gain control exposed by an audio port. 850 JOINT = 0x1, // supports joint channel gain control 851 CHANNELS = 0x2, // supports separate channel gain control 852 RAMP = 0x4 // supports gain ramps 856 * An audio_gain struct is a representation of a gain stage. 857 * A gain stage is always attached to an audio port. [all …]
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 332 Return<Result> StreamIn::setGain(float gain) { in setGain() argument 333 if (!isGainNormalized(gain)) { in setGain() 334 ALOGW("Can not set a stream input gain (%f) outside [0,1]", gain); in setGain() 337 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain() 463 .source = static_cast<audio_source_t>(metadata.source), .gain = metadata.gain}; in updateSinkMetadata()
|
/hardware/interfaces/audio/common/4.0/ |
D | types.hal | 717 * Type of gain control exposed by an audio port. 721 JOINT = 0x1, // supports joint channel gain control 722 CHANNELS = 0x2, // supports separate channel gain control 723 RAMP = 0x4 // supports gain ramps 727 * An audio_gain struct is a representation of a gain stage. 728 * A gain stage is always attached to an audio port. 732 bitfield<AudioChannelMask> channelMask; // channels which gain an be controlled 733 int32_t minValue; // minimum gain value in millibels 734 int32_t maxValue; // maximum gain value in millibels 735 int32_t defaultValue; // default gain value in millibels [all …]
|
/hardware/interfaces/audio/common/2.0/ |
D | types.hal | 756 * Type of gain control exposed by an audio port. 760 JOINT = 0x1, // supports joint channel gain control 761 CHANNELS = 0x2, // supports separate channel gain control 762 RAMP = 0x4 // supports gain ramps 766 * An audio_gain struct is a representation of a gain stage. 767 * A gain stage is always attached to an audio port. 771 AudioChannelMask channelMask; // channels which gain an be controlled 772 int32_t minValue; // minimum gain value in millibels 773 int32_t maxValue; // maximum gain value in millibels 774 int32_t defaultValue; // default gain value in millibels [all …]
|
/hardware/qcom/audio/hal/audio_extn/ |
D | utils.c | 420 int *gain) in audio_extn_utils_send_app_type_gain() argument 433 gain_cfg[2] = gain[0]; in audio_extn_utils_send_app_type_gain() 434 gain_cfg[3] = gain[1]; in audio_extn_utils_send_app_type_gain() 435 ALOGV("%s app_type %d l(%d) r(%d)", __func__, app_type, gain[0], gain[1]); in audio_extn_utils_send_app_type_gain()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 286 status_t ALSAMixer::setMasterGain(float gain) in setMasterGain() argument 295 long vol = minVol + gain * (maxVol - minVol); in setMasterGain() 328 status_t ALSAMixer::setGain(uint32_t device, float gain) in setGain() argument 340 long vol = minVol + gain * (maxVol - minVol); in setGain()
|
/hardware/interfaces/audio/4.0/ |
D | types.hal | 130 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 134 float gain; 146 * Positive linear gain applied to the track samples. 0 being muted and 1 is no attenuation, 150 float gain; 184 * Simple processing as constant gain adjustment must be DIRECT.
|
/hardware/qcom/msm8x26/kernel-headers/sound/ |
D | lsm_params.h | 66 __u16 gain; member
|
/hardware/qcom/msm8x26/original-kernel-headers/sound/ |
D | lsm_params.h | 63 __u16 gain; member
|