/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.cpp | 51 mChannelMask = other.mChannelMask; in copyFrom() 213 if (mChannelMask == AAUDIO_UNSPECIFIED) { in validateChannelMask() 217 if (mChannelMask & AAUDIO_CHANNEL_BIT_INDEX) { in validateChannelMask() 218 switch (mChannelMask) { in validateChannelMask() 245 ALOGD("Invalid channel index mask %#x", mChannelMask); in validateChannelMask() 251 switch (mChannelMask) { in validateChannelMask() 262 ALOGD("Invalid channel mask %#x, IN", mChannelMask); in validateChannelMask() 266 switch (mChannelMask) { in validateChannelMask() 293 ALOGD("Invalid channel mask %#x. OUT", mChannelMask); in validateChannelMask() 304 ALOGD("mChannelMask = %#x", mChannelMask); in dump()
|
D | AAudioStreamParameters.h | 166 return mChannelMask; in getChannelMask() 170 mChannelMask = channelMask; in setChannelMask() 236 aaudio_channel_mask_t mChannelMask = AAUDIO_UNSPECIFIED; variable
|
D | AudioStream.h | 376 return mChannelMask; in getChannelMask() 380 mChannelMask = channelMask; in setChannelMask() 762 aaudio_channel_mask_t mChannelMask = AAUDIO_UNSPECIFIED; variable
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 58 mSamplingRate(samplingRate), mFormat(format), mChannelMask(channelMask), in mIoHandle() 67 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() 85 << (audio_channel_mask_get_representation(mChannelMask) == in toDebugString() 87 audio_channel_index_mask_to_string(mChannelMask) : in toDebugString() 88 (mIsInput ? audio_channel_in_mask_to_string(mChannelMask) : in toDebugString() 89 audio_channel_out_mask_to_string(mChannelMask))) in toDebugString() 101 const audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_NONE; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioPortConfig.java | 41 private final int mChannelMask; field in AudioPortConfig 62 mChannelMask = channelMask; in AudioPortConfig() 87 return mChannelMask; in channelMask() 108 + ", mChannelMask: " + mChannelMask in toString()
|
D | AudioGainConfig.java | 36 private final int mChannelMask; field in AudioGainConfig 48 mChannelMask = channelMask; in AudioGainConfig() 74 return mChannelMask; in channelMask()
|
D | AudioFormat.java | 1021 mChannelMask = (propertySetMask & AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_MASK) != 0 in AudioFormat() 1067 private final int mChannelMask; field in AudioFormat 1104 return mChannelMask; in getChannelMask() 1176 private int mChannelMask = CHANNEL_INVALID; field in AudioFormat.Builder 1193 mChannelMask = af.mChannelMask; in Builder() 1208 mChannelMask, in build() 1304 mChannelMask = channelMask; in setChannelMask() 1352 } else if (/* channelIndexMask != 0 && */ mChannelMask != 0 && in setChannelIndexMask() 1353 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask() 1397 && (mChannelMask != that.mChannelMask)) in equals() [all …]
|
D | AudioGain.java | 65 private final int mChannelMask; field in AudioGain 81 mChannelMask = channelMask; in AudioGain() 102 return mChannelMask; in channelMask()
|
D | AudioRecord.java | 223 private int mChannelMask; field in AudioRecord 454 mChannelMask = getChannelMaskFromLegacyConfig(format.getChannelMask(), false); in AudioRecord() 457 mChannelMask = getChannelMaskFromLegacyConfig(AudioFormat.CHANNEL_IN_DEFAULT, false); in AudioRecord() 458 mChannelCount = AudioFormat.channelCountFromInChannelMask(mChannelMask); in AudioRecord() 478 sampleRate, mChannelMask, mChannelIndexMask, mAudioFormat, in AudioRecord() 1272 return mChannelMask; in getChannelConfiguration() 1284 if (mChannelMask != AudioFormat.CHANNEL_INVALID) { in getFormat() 1285 builder.setChannelMask(mChannelMask); in getFormat()
|
/frameworks/av/media/module/extractors/wav/ |
D | WAVExtractor.cpp | 113 mChannelMask(CHANNEL_MASK_USE_CHANNEL_ORDER) { in WAVExtractor() 256 mChannelMask = U32_LE_AT(&formatSpec[20]); in init() 257 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init() 258 if ((mChannelMask >> 18) != 0) { in init() 259 ALOGE("invalid channel mask 0x%x", mChannelMask); in init() 263 if ((mChannelMask != CHANNEL_MASK_USE_CHANNEL_ORDER) in init() 264 && (popcount(mChannelMask) != mNumChannels)) { in init() 266 popcount(mChannelMask), mChannelMask); in init() 332 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, mChannelMask); in init()
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.h | 70 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() 85 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_NONE; variable
|
/frameworks/av/media/libaudioclient/tests/ |
D | audiotrack_tests.cpp | 185 mChannelMask(std::get<2>(GetParam())), in AudioTrackCreateTest() 191 const audio_channel_mask_t mChannelMask; member in AudioTrackCreateTest 198 mAP = sp<AudioPlayback>::make(mSampleRate, mFormat, mChannelMask, mFlags, in SetUp() 213 EXPECT_EQ(audio_channel_count_from_out_mask(mChannelMask), in TEST_P()
|
D | audio_test_utils.cpp | 56 mChannelMask(channelMask), in AudioPlayback() 84 mTrack->set(AUDIO_STREAM_MUSIC, mSampleRate, mFormat, mChannelMask, 0 /* frameCount */, in create() 89 mTrack = new AudioTrack(AUDIO_STREAM_MUSIC, mSampleRate, mFormat, mChannelMask, mMemory, in create() 361 mChannelMask(channelMask), in AudioCapture() 390 AudioRecord::getMinFrameCount(&minFrameCount, mSampleRate, mFormat, mChannelMask); in create() 393 const int samplesPerFrame = audio_channel_count_from_in_mask(mChannelMask); in create() 415 mRecord = new AudioRecord(mInputSource, mSampleRate, mFormat, mChannelMask, in create() 421 status = mRecord->set(mInputSource, mSampleRate, mFormat, mChannelMask, mFrameCount, in create() 428 mRecord = new AudioRecord(mInputSource, mSampleRate, mFormat, mChannelMask, in create()
|
D | audiorecord_tests.cpp | 82 mChannelMask(std::get<RECORD_PARAM_CHANNEL_MASK>(GetParam())), in AudioRecordCreateTest() 89 const audio_channel_mask_t mChannelMask; member in AudioRecordCreateTest 98 mAC = new AudioCapture(mInputSource, mSampleRate, mFormat, mChannelMask, mFlags, mSessionId, in SetUp() 210 EXPECT_EQ(audio_channel_count_from_in_mask(mChannelMask), in TEST_P()
|
D | audio_test_utils.h | 110 const audio_channel_mask_t mChannelMask; variable 186 const audio_channel_mask_t mChannelMask; variable
|
D | audioeffect_analyser.cpp | 76 audio_channel_mask_t mChannelMask{AUDIO_CHANNEL_IN_MONO}; member 103 sp<AudioCapture>::make(AUDIO_SOURCE_REMOTE_SUBMIX, mSampleRate, mFormat, mChannelMask); in capture() 127 audio_channel_mask_t mChannelMask{AUDIO_CHANNEL_OUT_MONO}; member 139 sp<AudioPlayback>::make(mSampleRate, mFormat, mChannelMask, AUDIO_OUTPUT_FLAG_NONE, in play()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 295 mChannelMask = config->channel_mask; in applyAudioPortConfig() 337 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig() 379 mChannelMask == other->getChannelMask() && in equals() 399 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(mChannelMask, isInput)); in writeToParcelable() 420 mChannelMask = VALUE_OR_RETURN_STATUS( in readFromParcelable()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 49 mPolicyAudioPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioOutputDescriptor() 58 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 275 audio_format_to_string(mFormat), mSamplingRate, mChannelMask); in dump() 315 indent, mId, mId, mSamplingRate, mFormat, mChannelMask); in log() 609 lHalConfig.channel_mask = mChannelMask; in open() 664 mChannelMask = lHalConfig.channel_mask; in open() 756 mChannelMask = output2->mChannelMask; in openDuplicating() 1015 && mChannelMask == config.channel_mask in isConfigurationMatched()
|
D | AudioInputDescriptor.cpp | 38 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioInputDescriptor() 204 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 219 lConfig.channel_mask = mChannelMask; in open() 249 mChannelMask = lConfig.channel_mask; in open() 524 audio_format_to_string(mFormat), mSamplingRate, mChannelMask); in dump()
|
/frameworks/av/media/module/extractors/wav/include/ |
D | WAVExtractor.h | 51 uint32_t mChannelMask; variable
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastMixerState.h | 53 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_OUT_STEREO; member
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 183 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() 199 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_NONE; variable
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 99 mMetricsItem->setInt64(MM_PREFIX "channelMask", (int64_t)record->mChannelMask); in gather() 291 mChannelMask = channelMask; in set() 335 if (!audio_is_input_channel(mChannelMask)) { in set() 336 errorMessage = StringPrintf("%s: Invalid channel mask %#x", __func__, mChannelMask); in set() 341 mChannelCount = audio_channel_count_from_in_mask(mChannelMask); in set() 746 mFormat, mChannelMask, mChannelCount, mSampleRate); in dump() 826 input.config.channel_mask = mChannelMask; in createRecord_l() 1008 .set(AMEDIAMETRICS_PROP_CHANNELMASK, (int32_t)mChannelMask) in createRecord_l() 1045 .set(AMEDIAMETRICS_PROP_CHANNELMASK, (int32_t)mChannelMask) in reportError()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 1081 dprintf(fd, " Channel mask: 0x%08x (%s)\n", mChannelMask, in dumpBase_l() 1082 channelMaskToString(mChannelMask, mType != RECORD).c_str()); in dumpBase_l() 1924 config->channel_mask = mChannelMask; in toAudioPortConfig() 2064 item->setInt64(MM_PREFIX "channelMask", (int64_t)mChannelMask); in sendStatistics() 2198 && mMixerChannelMask != mChannelMask) { 2200 mChannelMask, mMixerChannelMask); 2449 (channelMask == (mChannelMask | mHapticChannelMask) || in createTrack_l() 2450 mChannelMask != AUDIO_CHANNEL_OUT_STEREO || in createTrack_l() 2624 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l() 2628 mChannelMask); in createTrack_l() [all …]
|
D | TrackBase.h | 226 audio_channel_mask_t channelMask() const final { return mChannelMask; } in channelMask() 351 const audio_channel_mask_t mChannelMask; variable
|