/frameworks/base/media/java/android/media/ |
D | AudioFormat.java | 594 mChannelMask = channelMask; in AudioFormat() 615 private int mChannelMask; field in AudioFormat 654 return mChannelMask; in getChannelMask() 711 private int mChannelMask = CHANNEL_INVALID; field in AudioFormat.Builder 728 mChannelMask = af.mChannelMask; in Builder() 744 af.mChannelMask = mChannelMask; in build() 827 mChannelMask = channelMask; in setChannelMask() 875 } else if (/* channelIndexMask != 0 && */ mChannelMask != 0 && in setChannelIndexMask() 876 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask() 920 && (mChannelMask != that.mChannelMask)) in equals() [all …]
|
D | AudioPortConfig.java | 35 private final int mChannelMask; field in AudioPortConfig 52 mChannelMask = channelMask; in AudioPortConfig() 76 return mChannelMask; in channelMask() 98 + ", mChannelMask: " + mChannelMask in toString()
|
D | AudioGainConfig.java | 31 private final int mChannelMask; field in AudioGainConfig 40 mChannelMask = channelMask; in AudioGainConfig() 66 return mChannelMask; in channelMask()
|
D | AudioGain.java | 62 private final int mChannelMask; field in AudioGain 77 mChannelMask = channelMask; in AudioGain() 98 return mChannelMask; in channelMask()
|
D | AudioRecord.java | 184 private int mChannelMask; field in AudioRecord 367 mChannelMask = getChannelMaskFromLegacyConfig(format.getChannelMask(), false); in AudioRecord() 370 mChannelMask = getChannelMaskFromLegacyConfig(AudioFormat.CHANNEL_IN_DEFAULT, false); in AudioRecord() 371 mChannelCount = AudioFormat.channelCountFromInChannelMask(mChannelMask); in AudioRecord() 382 mAudioAttributes, sampleRate, mChannelMask, mChannelIndexMask, in AudioRecord() 796 return mChannelMask; in getChannelConfiguration() 808 if (mChannelMask != AudioFormat.CHANNEL_INVALID) { in getFormat() 809 builder.setChannelMask(mChannelMask); in getFormat()
|
D | AudioTrack.java | 261 private int mChannelMask = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack 518 sampleRate, mChannelMask, mChannelIndexMask, mAudioFormat, in AudioTrack() 836 mChannelMask = AudioFormat.CHANNEL_OUT_MONO; in audioParamCheck() 841 mChannelMask = AudioFormat.CHANNEL_OUT_STEREO; in audioParamCheck() 852 mChannelMask = channelConfig; in audioParamCheck()
|
/frameworks/av/media/libstagefright/ |
D | WAVExtractor.cpp | 98 mChannelMask(CHANNEL_MASK_USE_CHANNEL_ORDER) { in WAVExtractor() 234 mChannelMask = U32_LE_AT(&formatSpec[20]); in init() 235 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init() 236 if ((mChannelMask >> 18) != 0) { in init() 237 ALOGE("invalid channel mask 0x%x", mChannelMask); in init() 241 if ((mChannelMask != CHANNEL_MASK_USE_CHANNEL_ORDER) in init() 242 && (popcount(mChannelMask) != mNumChannels)) { in init() 244 popcount(mChannelMask), mChannelMask); in init() 309 mTrackMeta->setInt32(kKeyChannelMask, mChannelMask); in init()
|
/frameworks/av/include/media/ |
D | AudioIoDescriptor.h | 37 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), in AudioIoDescriptor() 63 audio_channel_mask_t mChannelMask; variable
|
/frameworks/av/media/libmedia/ |
D | IAudioFlingerClient.cpp | 51 data.writeInt32(ioDesc->mChannelMask); in ioConfigChanged() 75 ioDesc->mChannelMask = (audio_channel_mask_t) data.readInt32(); in onTransact()
|
D | AudioRecord.cpp | 214 mChannelMask = channelMask; in set() 538 mSampleRate, mFormat, mChannelMask, in openRecord_l() 544 mSessionId, mAttributes.source, mSampleRate, mFormat, mChannelMask, mFlags); in openRecord_l() 615 mChannelMask, in openRecord_l()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 35 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioInputDescriptor() 173 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 190 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); in dump()
|
D | AudioPort.cpp | 385 mChannelMask = AUDIO_CHANNEL_NONE; in AudioPortConfig() 414 mChannelMask = config->channel_mask; in applyAudioPortConfig() 449 dstConfig->channel_mask = mChannelMask; in toAudioPortConfig()
|
D | DeviceDescriptor.cpp | 229 if (mChannelMask != AUDIO_CHANNEL_NONE) { in toAudioPortConfig() 269 port->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in importAudioPort()
|
D | AudioOutputDescriptor.cpp | 50 port->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioOutputDescriptor() 198 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); in dump() 217 indent, mId, mId, mSamplingRate, mFormat, mChannelMask); in log()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 105 audio_channel_mask_t channelMask() const { return mChannelMask; } in channelMask() 148 const audio_channel_mask_t mChannelMask; variable
|
D | FastMixerState.h | 47 audio_channel_mask_t mChannelMask; // AUDIO_CHANNEL_OUT_MONO or AUDIO_CHANNEL_OUT_STEREO member
|
D | FastMixerState.cpp | 24 mChannelMask(AUDIO_CHANNEL_OUT_STEREO), mFormat(AUDIO_FORMAT_INVALID), mGeneration(0) in FastTrack()
|
D | FastMixer.cpp | 264 name = mMixer->getTrackName(fastTrack->mChannelMask, in onStateChange() 279 (void *)(uintptr_t)fastTrack->mChannelMask); in onStateChange() 316 (void *)(uintptr_t)fastTrack->mChannelMask); in onStateChange()
|
D | Threads.cpp | 943 dprintf(fd, " Channel mask: 0x%08x (%s)\n", mChannelMask, in dumpBase() 944 channelMaskToString(mChannelMask, mType != RECORD).string()); in dumpBase() 1532 config->channel_mask = mChannelMask; in getAudioPortConfig() 1772 (channelMask == mChannelMask || in createTrack_l() 1773 mChannelMask != AUDIO_CHANNEL_OUT_STEREO || in createTrack_l() 1837 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l() 1848 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l() 2136 desc->mChannelMask = mChannelMask; in ioConfigChanged() 2209 mChannelMask = mOutput->getChannelMask(); in readOutputParameters_l() 2210 if (!audio_is_output_channel(mChannelMask)) { in readOutputParameters_l() [all …]
|
D | Tracks.cpp | 88 mChannelMask(channelMask), in TrackBase() 537 mChannelMask, in dump() 1147 frameCount, mChannelMask); in OutputTrack() 1490 thread->mChannelMask, thread->mFormat, thread->mSampleRate, in RecordTrack() 1610 mChannelMask, in dump()
|
/frameworks/av/media/libstagefright/include/ |
D | WAVExtractor.h | 51 uint32_t mChannelMask; variable
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 68 jfieldID mChannelMask; member 94 jfieldID mChannelMask; member 122 jfieldID mChannelMask; member 618 jint jMask = env->GetIntField(jAudioGainConfig, gAudioGainConfigFields.mChannelMask); in convertAudioGainConfigToNative() 672 gAudioPortConfigFields.mChannelMask); in convertAudioPortConfigToNative() 1592 gAudioFormatFields.mChannelMask)); in convertAudioMixToNative() 1802 gAudioPortConfigFields.mChannelMask = GetFieldIDOrDie(env, audioPortConfigClass, in register_android_media_AudioSystem() 1840 gAudioGainConfigFields.mChannelMask = GetFieldIDOrDie(env, audioGainConfigClass, "mChannelMask", in register_android_media_AudioSystem() 1884 gAudioFormatFields.mChannelMask = GetFieldIDOrDie(env, audioFormatClass, "mChannelMask", "I"); in register_android_media_AudioSystem()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 171 audio_channel_mask_t mChannelMask; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 812 outputDesc->mChannelMask = config.channel_mask; in getOutputForDevice() 882 (channelMask == outputDesc->mChannelMask)) { in getOutputForDevice() 937 outputDesc->mChannelMask); in getOutputForDevice() 948 outputDesc->mChannelMask = config.channel_mask; in getOutputForDevice() 1578 inputDesc->mChannelMask = profileChannelMask; in getInputForDevice() 3240 config.channel_mask = outputDesc->mChannelMask; in AudioPolicyManager() 3257 outputDesc->mChannelMask = config.channel_mask; in AudioPolicyManager() 3312 config.channel_mask = inputDesc->mChannelMask; in AudioPolicyManager() 3530 config.channel_mask = outputDesc->mChannelMask; in AudioPolicyManager() 3543 outputDesc->mSamplingRate, outputDesc->mFormat, outputDesc->mChannelMask); in AudioPolicyManager() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 193 audio_channel_mask_t mChannelMask; member
|