Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioMixPort.java41 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
43 formats, gains); in AudioMixPort()
48 List<AudioProfile> profiles, AudioGain[] gains) { in AudioMixPort() argument
49 super(handle, role, deviceName, profiles, gains, null); in AudioMixPort()
DAudioDevicePort.java49 int[] formats, AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
62 AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
67 deviceName, profiles, gains, descriptors); in AudioDevicePort()
DAudioPort.java98 int[] formats, AudioGain[] gains) { in AudioPort() argument
106 mGains = gains; in AudioPort()
119 List<AudioProfile> profiles, AudioGain[] gains, in AudioPort() argument
126 mGains = gains; in AudioPort()
228 public AudioGain[] gains() { in gains() method in AudioPort
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h50 void setGains(const AudioGains &gains) { mGains = gains; } in setGains() argument
127 port->gains[i] = mGains[i]->getGain(); in toAudioPortBase()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPort.aidl46 AudioGain[] gains;
/frameworks/av/media/codecs/amrwb/enc/inc/
Dq_gain2.tab25 * during quantization of gains. *
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp467 AudioGains gains = devicePort->getGains(); in setVolume() local
468 int gainMinValueInMb = gains[0]->getMinValueInMb(); in setVolume()
469 int gainMaxValueInMb = gains[0]->getMaxValueInMb(); in setVolume()
470 int gainStepValueInMb = gains[0]->getStepValueInMb(); in setVolume()
DSerializer.cpp500 AudioGainTraits::Collection gains; in deserialize() local
501 status = deserializeCollection<AudioGainTraits>(child, &gains, NULL); in deserialize()
505 mixPort->setGains(gains); in deserialize()
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp212 float gains[STEREO_CHANNELS]; in IOutputMixExt_FillBuffer() local
217 gains[channel] = gain; in IOutputMixExt_FillBuffer()
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp215 parcelable->gains = VALUE_OR_RETURN_STATUS(legacy2aidl_AudioGains(mGains)); in writeToParcelable()
231 mGains = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioGains(parcelable.gains)); in readFromParcelable()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp2008 if (aidl.gains.size() > std::size(legacy.gains)) { in aidl2legacy_AudioPort_audio_port_v7()
2011 RETURN_IF_ERROR(convertRange(aidl.gains.begin(), aidl.gains.end(), legacy.gains, in aidl2legacy_AudioPort_audio_port_v7()
2013 legacy.num_gains = aidl.gains.size(); in aidl2legacy_AudioPort_audio_port_v7()
2046 if (legacy.num_gains > std::size(legacy.gains)) { in legacy2aidl_audio_port_v7_AudioPort()
2050 convertRange(legacy.gains, legacy.gains + legacy.num_gains, in legacy2aidl_audio_port_v7_AudioPort()
2051 std::back_inserter(aidl.gains), in legacy2aidl_audio_port_v7_AudioPort()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1217 nAudioPort->num_gains > array_size(nAudioPort->gains)) { in isAudioPortArrayCountOutOfBounds()
1409 audio_channel_mask_t nMask = nAudioPort->gains[j].channel_mask; in convertAudioPortFromNative()
1421 nAudioPort->gains[j].mode, in convertAudioPortFromNative()
1423 nAudioPort->gains[j].min_value, in convertAudioPortFromNative()
1424 nAudioPort->gains[j].max_value, in convertAudioPortFromNative()
1425 nAudioPort->gains[j].default_value, in convertAudioPortFromNative()
1426 nAudioPort->gains[j].step_value, in convertAudioPortFromNative()
1427 nAudioPort->gains[j].min_ramp_ms, in convertAudioPortFromNative()
1428 nAudioPort->gains[j].max_ramp_ms); in convertAudioPortFromNative()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java950 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
952 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27434 Landroid/media/AudioPort;->gains()[Landroid/media/AudioGain;