Searched refs:mGains (Results 1 – 9 of 9) sorted by relevance
/frameworks/wilhelm/src/itf/ |
D | IOutputMixExt.cpp | 123 track->mGains[0] = audioPlayer->mGains[0]; in track_check() 124 track->mGains[1] = audioPlayer->mGains[1]; in track_check() 216 float gain = track->mGains[channel]; in IOutputMixExt_FillBuffer() 244 mixBuffer->left += (short) (source->left * track->mGains[0]); in IOutputMixExt_FillBuffer() 245 mixBuffer->right += (short) (source->right * track->mGains[1]); in IOutputMixExt_FillBuffer() 258 mixBuffer->left = (short) (source->left * track->mGains[0]); in IOutputMixExt_FillBuffer() 259 mixBuffer->right = (short) (source->right * track->mGains[1]); in IOutputMixExt_FillBuffer() 405 thiz->mGains[0] = 1.0f; in IOutputMixExt_checkAudioPlayerSourceSink() 406 thiz->mGains[1] = 1.0f; in IOutputMixExt_checkAudioPlayerSourceSink() 419 track->mGains[0] = 1.0f; in IOutputMixExt_checkAudioPlayerSourceSink() [all …]
|
D | IEngine.cpp | 219 thiz->mGains[0] = 1.0f; in IEngine_CreateAudioPlayer() 220 thiz->mGains[1] = 1.0f; in IEngine_CreateAudioPlayer()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 50 void setGains(const AudioGains &gains) { mGains = gains; } in setGains() 51 const AudioGains &getGains() const { return mGains; } in getGains() 84 if (index < 0 || (size_t)index >= mGains.size()) { in checkGain() 87 return mGains[index]->checkConfig(gainConfig); in checkGain() 108 AudioGains mGains; // gain controllers variable 125 port->num_gains = std::min(mGains.size(), (size_t) AUDIO_PORT_MAX_GAINS); in toAudioPortBase() 127 port->gains[i] = mGains[i]->getGain(); in toAudioPortBase()
|
/frameworks/base/media/java/android/media/ |
D | AudioPort.java | 91 private final AudioGain[] mGains; field in AudioPort 106 mGains = gains; in AudioPort() 126 mGains = gains; in AudioPort() 229 return mGains; in gains() 236 if (index < 0 || index >= mGains.length) { in gain() 239 return mGains[index]; in gain()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 175 if (mGains.size() != 0) { in dump() 177 for (size_t i = 0; i < mGains.size(); i++) { in dump() 179 mGains[i]->dump(&gainStr, spaces + 2, i); in dump() 194 mGains.equals(other->getGains()) && in equals() 215 parcelable->gains = VALUE_OR_RETURN_STATUS(legacy2aidl_AudioGains(mGains)); in writeToParcelable() 231 mGains = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioGains(parcelable.gains)); in readFromParcelable()
|
/frameworks/wilhelm/src/desktop/ |
D | OutputMixExt.h | 42 float mGains[STEREO_CHANNELS]; ///< Copied from CAudioPlayer::mGains member
|
/frameworks/wilhelm/src/ |
D | classes.h | 88 float mGains[STEREO_CHANNELS]; ///< Computed gain based on volume, mute, solo, stereo position member
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 80 jfieldID mGains; member 1076 gAudioPortFields.mGains); in convertAudioPortConfigFromNative() 2902 gAudioPortFields.mGains = GetFieldIDOrDie(env, audioPortClass, "mGains", in register_android_media_AudioSystem()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 573 status = deserializeCollection<AudioGainTraits>(cur, &deviceDesc->mGains, NULL); in deserialize()
|