/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 41 memset(&mGain, 0, sizeof(struct audio_gain)); in AudioGain() 47 config->mode = mGain.mode; in getDefaultConfig() 48 config->channel_mask = mGain.channel_mask; in getDefaultConfig() 49 if ((mGain.mode & AUDIO_GAIN_MODE_JOINT) == AUDIO_GAIN_MODE_JOINT) { in getDefaultConfig() 50 config->values[0] = mGain.default_value; in getDefaultConfig() 54 numValues = audio_channel_count_from_in_mask(mGain.channel_mask); in getDefaultConfig() 56 numValues = audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig() 59 config->values[i] = mGain.default_value; in getDefaultConfig() 62 if ((mGain.mode & AUDIO_GAIN_MODE_RAMP) == AUDIO_GAIN_MODE_RAMP) { in getDefaultConfig() 63 config->ramp_duration_ms = mGain.min_ramp_ms; in getDefaultConfig() [all …]
|
D | AudioPort.cpp | 164 mGain = config->gain; in applyAudioPortConfig() 206 dstConfig->gain = mGain; in toAudioPortConfig() 238 mGain.index == other->mGain.index && in equals() 239 mGain.mode == other->mGain.mode && in equals() 240 mGain.channel_mask == other->mGain.channel_mask && in equals() 241 std::equal(std::begin(mGain.values), std::end(mGain.values), in equals() 242 std::begin(other->mGain.values)) && in equals() 243 mGain.ramp_duration_ms == other->mGain.ramp_duration_ms; in equals() 254 if ((status = parcel->writeInt32(mGain.index)) != NO_ERROR) return status; in writeToParcel() 255 if ((status = parcel->writeUint32(mGain.mode)) != NO_ERROR) return status; in writeToParcel() [all …]
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioGain.h | 35 void setMode(audio_gain_mode_t mode) { mGain.mode = mode; } in setMode() 36 const audio_gain_mode_t &getMode() const { return mGain.mode; } in getMode() 38 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask() 39 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask() 41 void setMinValueInMb(int minValue) { mGain.min_value = minValue; } in setMinValueInMb() 42 int getMinValueInMb() const { return mGain.min_value; } in getMinValueInMb() 44 void setMaxValueInMb(int maxValue) { mGain.max_value = maxValue; } in setMaxValueInMb() 45 int getMaxValueInMb() const { return mGain.max_value; } in getMaxValueInMb() 47 void setDefaultValueInMb(int defaultValue) { mGain.default_value = defaultValue; } in setDefaultValueInMb() 48 int getDefaultValueInMb() const { return mGain.default_value; } in getDefaultValueInMb() [all …]
|
D | AudioPort.h | 128 struct audio_gain_config mGain = { .index = -1 }; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioPortConfig.java | 44 private final AudioGainConfig mGain; field in AudioPortConfig 63 mGain = gain; in AudioPortConfig() 100 return mGain; in gain() 109 + ", 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 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 | 38 profile->getGains()[0]->getDefaultConfig(&mGain); in AudioInputDescriptor()
|
D | AudioOutputDescriptor.cpp | 48 mPolicyAudioPort->asAudioPort()->getGains()[0]->getDefaultConfig(&mGain); in AudioOutputDescriptor()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 90 jfieldID mGain; member 860 jobject jGain = env->GetObjectField(jAudioPortConfig, gAudioPortConfigFields.mGain); in convertAudioPortConfigToNative() 2411 gAudioPortConfigFields.mGain = GetFieldIDOrDie(env, audioPortConfigClass, "mGain", in register_android_media_AudioSystem()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 34085 Landroid/media/audiofx/DynamicsProcessing$EqBand;->mGain:F 34287 Landroid/media/AudioGainConfig;->mGain:Landroid/media/AudioGain;
|