Home
last modified time | relevance | path

Searched refs:mChannelMask (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioFormat.java283 mChannelMask = channelMask; in AudioFormat()
300 private int mChannelMask; field in AudioFormat
336 return mChannelMask; in getChannelMask()
361 private int mChannelMask = CHANNEL_INVALID; field in AudioFormat.Builder
377 mChannelMask = af.mChannelMask; in Builder()
390 af.mChannelMask = mChannelMask; in build()
444 mChannelMask = channelMask; in setChannelMask()
470 + " chan=0x" + Integer.toHexString(mChannelMask) in toString()
DAudioPortConfig.java35 private final int mChannelMask; field in AudioPortConfig
52 mChannelMask = channelMask; in AudioPortConfig()
76 return mChannelMask; in channelMask()
98 + ", mChannelMask: " + mChannelMask in toString()
DAudioGainConfig.java31 private final int mChannelMask; field in AudioGainConfig
40 mChannelMask = channelMask; in AudioGainConfig()
66 return mChannelMask; in channelMask()
DAudioGain.java62 private final int mChannelMask; field in AudioGain
77 mChannelMask = channelMask; in AudioGain()
98 return mChannelMask; in channelMask()
DAudioRecord.java140 private int mChannelMask; field in AudioRecord
316 mChannelMask = getChannelMaskFromLegacyConfig(format.getChannelMask(), false); in AudioRecord()
325 mAudioAttributes, mSampleRate, mChannelMask, mAudioFormat, mNativeBufferSizeInBytes, in AudioRecord()
485 return mChannelMask; in getChannelConfiguration()
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp96 mChannelMask(CHANNEL_MASK_USE_CHANNEL_ORDER) { in WAVExtractor()
247 mChannelMask = U32_LE_AT(&formatSpec[20]); in init()
248 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init()
249 if ((mChannelMask >> 18) != 0) { in init()
250 ALOGE("invalid channel mask 0x%x", mChannelMask); in init()
254 if ((mChannelMask != CHANNEL_MASK_USE_CHANNEL_ORDER) in init()
255 && (popcount(mChannelMask) != mNumChannels)) { in init()
257 popcount(mChannelMask), mChannelMask); in init()
304 mTrackMeta->setInt32(kKeyChannelMask, mChannelMask); in init()
DACodec.cpp416 mChannelMask(0), in ACodec()
1662 if (msg->findInt32("channel-mask", &mChannelMask)) { in configureCodec()
3629 notify->setInt32("channel-mask", mChannelMask); in getPortFormat()
/frameworks/av/services/audioflinger/
DFastMixerState.cpp23 mChannelMask(AUDIO_CHANNEL_OUT_STEREO), mFormat(AUDIO_FORMAT_INVALID), mGeneration(0) in FastTrack()
DTrackBase.h107 audio_channel_mask_t channelMask() const { return mChannelMask; } in channelMask()
150 const audio_channel_mask_t mChannelMask; variable
DFastMixerState.h47 audio_channel_mask_t mChannelMask; // AUDIO_CHANNEL_OUT_MONO or AUDIO_CHANNEL_OUT_STEREO member
DThreads.cpp590 dprintf(fd, " Channel Mask: 0x%08x (%s)\n", mChannelMask, in dumpBase()
591 channelMaskToString(mChannelMask, mType != RECORD).string()); in dumpBase()
1156 config->channel_mask = mChannelMask; in getAudioPortConfig()
1391 (channelMask == mChannelMask || in createTrack_l()
1393 mChannelMask == AUDIO_CHANNEL_OUT_STEREO)) && in createTrack_l()
1444 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l()
1455 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l()
1739 desc.channelMask = mChannelMask; in audioConfigChanged()
1814 mChannelMask = mOutput->stream->common.get_channels(&mOutput->stream->common); in readOutputParameters_l()
1815 if (!audio_is_output_channel(mChannelMask)) { in readOutputParameters_l()
[all …]
DFastMixer.cpp254 name = mixer->getTrackName(fastTrack->mChannelMask, in onStateChange()
269 (void *)(uintptr_t)fastTrack->mChannelMask); in onStateChange()
306 (void *)(uintptr_t)fastTrack->mChannelMask); in onStateChange()
DTracks.cpp86 mChannelMask(channelMask), in TrackBase()
574 mChannelMask, in dump()
1671 frameCount, mChannelMask); in OutputTrack()
2117 mChannelMask, in dump()
DThreads.h236 audio_channel_mask_t channelMask() const { return mChannelMask; } in channelMask()
406 audio_channel_mask_t mChannelMask; variable
/frameworks/av/media/libstagefright/include/
DWAVExtractor.h50 uint32_t mChannelMask; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp68 jfieldID mChannelMask; member
94 jfieldID mChannelMask; member
120 jfieldID mChannelMask; member
502 jint jMask = env->GetIntField(jAudioGainConfig, gAudioGainConfigFields.mChannelMask); in convertAudioGainConfigToNative()
556 gAudioPortConfigFields.mChannelMask); in convertAudioPortConfigToNative()
1384 gAudioFormatFields.mChannelMask)); in convertAudioMixToNative()
1574 gAudioPortConfigFields.mChannelMask = env->GetFieldID(audioPortConfigClass, in register_android_media_AudioSystem()
1611 gAudioGainConfigFields.mChannelMask = env->GetFieldID(audioGainConfigClass, "mChannelMask", in register_android_media_AudioSystem()
1644 gAudioFormatFields.mChannelMask = env->GetFieldID(audioFormatClass, "mChannelMask", "I"); in register_android_media_AudioSystem()
/frameworks/av/media/libmedia/
DAudioRecord.cpp207 mChannelMask = channelMask; in set()
456 mSampleRate, mFormat, mChannelMask, mFlags); in openRecord_l()
461 mAttributes.source, mSampleRate, mFormat, mChannelMask, mSessionId, mFlags); in openRecord_l()
480 mChannelMask, in openRecord_l()
DAudioTrack.cpp316 mChannelMask = channelMask; in set()
943 mSampleRate, mFormat, mChannelMask, in createTrack_l()
950 streamType, mAttributes.usage, mSampleRate, mFormat, mChannelMask, mFlags); in createTrack_l()
1110 mChannelMask, in createTrack_l()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp1025 outputDesc->mChannelMask = config.channel_mask; in getOutputForDevice()
1087 (channelMask == outputDesc->mChannelMask)) { in getOutputForDevice()
1125 outputDesc->mChannelMask); in getOutputForDevice()
1136 outputDesc->mChannelMask = config.channel_mask; in getOutputForDevice()
1605 inputDesc->mChannelMask = channelMask; in getInputForAttr()
3126 config.channel_mask = outputDesc->mChannelMask; in AudioPolicyManager()
3143 outputDesc->mChannelMask = config.channel_mask; in AudioPolicyManager()
3203 config.channel_mask = inputDesc->mChannelMask; in AudioPolicyManager()
3414 config.channel_mask = outputDesc->mChannelMask; in threadLoop()
3426 outputDesc->mSamplingRate, outputDesc->mFormat, outputDesc->mChannelMask); in threadLoop()
[all …]
DAudioPolicyManager.h319 audio_channel_mask_t mChannelMask; variable
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h186 audio_channel_mask_t mChannelMask; member
/frameworks/av/include/media/
DAudioRecord.h496 audio_channel_mask_t mChannelMask; variable
DAudioTrack.h694 audio_channel_mask_t mChannelMask; variable
/frameworks/av/include/media/stagefright/
DACodec.h209 int32_t mChannelMask; member