Searched refs:channelIndexMask (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioFormat.java | 533 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() argument 537 mChannelIndexMask = channelIndexMask; in AudioFormat() 814 public @NonNull Builder setChannelIndexMask(int channelIndexMask) { in setChannelIndexMask() argument 815 if (channelIndexMask == 0) { in setChannelIndexMask() 818 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask() 820 Integer.toHexString(channelIndexMask).toUpperCase()); in setChannelIndexMask() 822 mChannelIndexMask = channelIndexMask; in setChannelIndexMask()
|
D | AudioTrack.java | 473 int channelIndexMask = 0; in AudioTrack() local 476 channelIndexMask = format.getChannelIndexMask(); in AudioTrack() 482 } else if (channelIndexMask == 0) { // if no masks at all, use stereo in AudioTrack() 490 audioParamCheck(rate, channelMask, channelIndexMask, encoding, mode); in AudioTrack() 735 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument 762 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck() 774 mChannelIndexMask = channelIndexMask; in audioParamCheck() 778 if ((channelIndexMask & ~indexMask) != 0) { in audioParamCheck() 780 + channelIndexMask); in audioParamCheck() 782 int channelIndexCount = Integer.bitCount(channelIndexMask); in audioParamCheck() [all …]
|
D | AudioRecord.java | 1529 int sampleRate, int channelMask, int channelIndexMask, int audioFormat, in native_setup() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 199 jint channelPositionMask, jint channelIndexMask) in nativeChannelMaskFromJavaChannelMasks() argument 201 if (channelIndexMask != 0) { // channel index mask takes priority in nativeChannelMaskFromJavaChannelMasks() 206 channelIndexMask); in nativeChannelMaskFromJavaChannelMasks() 218 jint sampleRateInHertz, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() argument 222 sampleRateInHertz, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes); in android_media_AudioTrack_setup() 231 channelPositionMask, channelIndexMask); in android_media_AudioTrack_setup()
|
D | android_media_AudioRecord.cpp | 179 jobject jaa, jint sampleRateInHertz, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup() argument 192 if (channelIndexMask) { in android_media_AudioRecord_setup() 196 channelIndexMask); in android_media_AudioRecord_setup()
|