Searched refs:mGains (Results 1 – 12 of 12) 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/base/media/java/android/media/ |
D | AudioPort.java | 81 private final AudioGain[] mGains; field in AudioPort 97 mGains = gains; in AudioPort() 169 return mGains; in gains() 176 if (index < 0 || index >= mGains.length) { in gain() 179 return mGains[index]; in gain()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPort.cpp | 116 ALOGV("AudioPort::toAudioPort() num gains %zu", mGains.size()); in toAudioPort() 119 for (i = 0; i < mGains.size() && i < AUDIO_PORT_MAX_GAINS; i++) { in toAudioPort() 120 port->gains[i] = mGains[i]->getGain(); in toAudioPort() 352 if (index < 0 || (size_t)index >= mGains.size()) { in checkGain() 355 return mGains[index]->checkConfig(gainConfig); in checkGain() 366 if (mGains.size() != 0) { in dump() 368 for (size_t i = 0; i < mGains.size(); i++) { in dump() 369 mGains[i]->dump(dst, spaces + 2, i); in dump()
|
D | AudioInputDescriptor.cpp | 38 if (profile->mGains.size() > 0) { in AudioInputDescriptor() 39 profile->mGains[0]->getDefaultConfig(&mGain); in AudioInputDescriptor()
|
D | AudioOutputDescriptor.cpp | 43 if (mPort->mGains.size() > 0) { in AudioOutputDescriptor() 44 mPort->mGains[0]->getDefaultConfig(&mGain); in AudioOutputDescriptor()
|
D | Serializer.cpp | 530 status = deserializeCollection<AudioGainTraits>(cur, &deviceDesc->mGains, NULL); in deserialize()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 51 void setGains(const AudioGains &gains) { mGains = gains; } in setGains() 52 const AudioGains &getGains() const { return mGains; } in getGains() 143 AudioGains mGains; // gain controllers variable
|
/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 | 74 jfieldID mGains; member 990 gAudioPortFields.mGains); in convertAudioPortConfigFromNative() 2378 gAudioPortFields.mGains = GetFieldIDOrDie(env, audioPortClass, "mGains", in register_android_media_AudioSystem()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 3867 srcDevice->getAudioPort()->mGains.size() > 0) { in connectAudioSource()
|