/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 43 config->mode = mGain.mode; in getDefaultConfig() 44 config->channel_mask = mGain.channel_mask; in getDefaultConfig() 45 if ((mGain.mode & AUDIO_GAIN_MODE_JOINT) == AUDIO_GAIN_MODE_JOINT) { in getDefaultConfig() 46 config->values[0] = mGain.default_value; in getDefaultConfig() 49 audio_channel_count_from_in_mask(mGain.channel_mask) : in getDefaultConfig() 50 audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig() 52 config->values[i] = mGain.default_value; in getDefaultConfig() 55 if ((mGain.mode & AUDIO_GAIN_MODE_RAMP) == AUDIO_GAIN_MODE_RAMP) { in getDefaultConfig() 56 config->ramp_duration_ms = mGain.min_ramp_ms; in getDefaultConfig() 62 if ((config->mode & ~mGain.mode) != 0) { in checkConfig() [all …]
|
D | AudioPort.cpp | 293 mGain = config->gain; in applyAudioPortConfig() 338 dstConfig->gain = mGain; in toAudioPortConfig() 375 mGain.index == other->mGain.index && in equals() 376 mGain.mode == other->mGain.mode && in equals() 377 mGain.channel_mask == other->mGain.channel_mask && in equals() 378 std::equal(std::begin(mGain.values), std::end(mGain.values), in equals() 379 std::begin(other->mGain.values)) && in equals() 380 mGain.ramp_duration_ms == other->mGain.ramp_duration_ms; in equals() 394 legacy2aidl_audio_gain_config_AudioGainConfig(mGain, isInput)); in writeToParcelable() 418 mGain = VALUE_OR_RETURN_STATUS( in readFromParcelable()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioGain.h | 37 void setMode(audio_gain_mode_t mode) { mGain.mode = mode; } in setMode() 38 const audio_gain_mode_t &getMode() const { return mGain.mode; } in getMode() 40 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask() 41 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask() 43 void setMinValueInMb(int minValue) { mGain.min_value = minValue; } in setMinValueInMb() 44 int getMinValueInMb() const { return mGain.min_value; } in getMinValueInMb() 46 void setMaxValueInMb(int maxValue) { mGain.max_value = maxValue; } in setMaxValueInMb() 47 int getMaxValueInMb() const { return mGain.max_value; } in getMaxValueInMb() 49 void setDefaultValueInMb(int defaultValue) { mGain.default_value = defaultValue; } in setDefaultValueInMb() 50 int getDefaultValueInMb() const { return mGain.default_value; } in getDefaultValueInMb() [all …]
|
D | AudioPort.h | 198 struct audio_gain_config mGain = { .index = -1 }; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioPortConfig.java | 45 private final AudioGainConfig mGain; field in AudioPortConfig 64 mGain = gain; in AudioPortConfig() 101 return mGain; in gain() 110 + ", mGain:" + mGain in toString()
|
D | AudioGainConfig.java | 30 AudioGain mGain; field in AudioGainConfig 46 mGain = gain; in AudioGainConfig()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioShelvingFilter.cpp | 86 mGain = millibel + 9600; in setGain() 93 (int)(mGain >> GAIN_PRECISION_BITS) in commit() 97 static_cast<uint32_t>(mGain) << (32 - GAIN_PRECISION_BITS) in commit()
|
D | AudioPeakingFilter.cpp | 80 mGain = millibel + 9600; in setGain() 91 mGain >> GAIN_PRECISION_BITS, in commit() 96 static_cast<uint32_t>(mGain) << (32 - GAIN_PRECISION_BITS), in commit()
|
D | AudioShelvingFilter.h | 74 int32_t getGain() const { return mGain - 9600; } in getGain() 123 int32_t mGain; variable
|
D | AudioPeakingFilter.h | 68 int32_t getGain() const { return mGain - 9600; } in getGain() 129 int32_t mGain; variable
|
/frameworks/base/media/java/android/media/audiofx/ |
D | DynamicsProcessing.java | 466 private float mGain; field in DynamicsProcessing.EqBand 479 mGain = gain; in EqBand() 488 mGain = cfg.mGain; in EqBand() 495 sb.append(String.format(" Gain: %f\n", mGain)); in toString() 504 return mGain; in getGain() 512 mGain = gain; in setGain()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 40 profile->getGains()[0]->getDefaultConfig(&mGain); in AudioInputDescriptor()
|
D | AudioOutputDescriptor.cpp | 50 mPolicyAudioPort->asAudioPort()->getGains()[0]->getDefaultConfig(&mGain); in AudioOutputDescriptor()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 99 jfieldID mGain; member 971 jobject jGain = env->GetObjectField(jAudioPortConfig, gAudioPortConfigFields.mGain); in convertAudioPortConfigToNative() 3177 gAudioPortConfigFields.mGain = GetFieldIDOrDie(env, audioPortConfigClass, "mGain", in register_android_media_AudioSystem()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 23956 Landroid/media/audiofx/DynamicsProcessing$EqBand;->mGain:F 24158 Landroid/media/AudioGainConfig;->mGain:Landroid/media/AudioGain;
|