/cts/tests/tests/media/libndkaudio/ |
OpenSLESUtils.cpp | 61 int channelMask = 0; 65 channelMask = SL_SPEAKER_FRONT_CENTER; 69 channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; 73 channelMask = SL_ANDROID_SPEAKER_QUAD; 77 channelMask = SL_ANDROID_SPEAKER_5DOT1; 81 channelMask = SL_ANDROID_SPEAKER_7DOT1; 84 return channelMask;
|
/frameworks/base/media/java/android/media/ |
AudioDevicePortConfig.java | 29 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, 31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); 35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(),
|
AudioGainConfig.java | 35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, 40 mChannelMask = channelMask; 65 public int channelMask() { 71 * channelMask() from LSB to MSB
|
AudioMixPortConfig.java | 29 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, 31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain);
|
AudioGain.java | 72 AudioGain(int index, int mode, int channelMask, 77 mChannelMask = channelMask; 97 public int channelMask() { 149 * @param channelMask: channels of which the gain should be modified. 154 public AudioGainConfig buildConfig(int mode, int channelMask, 157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
|
AudioPortConfig.java | 48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, 52 mChannelMask = channelMask; 75 public int channelMask() {
|
AudioMixPort.java | 45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, 47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
|
AudioDevicePort.java | 76 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, 78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
|
AudioPort.java | 176 * @param channelMask The desired channel mask. AudioFormat.CHANNEL_OUT_DEFAULT if no change 182 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, 184 return new AudioPortConfig(this, samplingRate, channelMask, format, gain);
|
AudioFormat.java | 46 * <li><a href="#channelMask">channel masks</a> 124 * <h4 id="channelMask">Channel mask</h4> 201 * channel association are given by the <a href="#channelMask">channel mask</a>, 591 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { 594 mChannelMask = channelMask; 644 * See the section on <a href="#channelMask">channel masks</a> for more information about 659 * See the section on <a href="#channelMask">channel masks</a> for more information about [all...] |
/external/webrtc/webrtc/modules/audio_device/android/ |
opensles_common.cc | 32 configuration.channelMask = SL_SPEAKER_FRONT_CENTER; 34 configuration.channelMask =
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
IOProfile.cpp | 36 audio_channel_mask_t channelMask, 59 (isPlaybackThread && (samplingRate == 0 || !audio_is_output_channel(channelMask))) || 60 (isRecordThread && (!audio_is_input_channel(channelMask)))) { 65 audio_channel_mask_t myUpdatedChannelMask = channelMask; 74 if (checkExactAudioProfile(samplingRate, channelMask, format) != NO_ERROR) {
|
AudioProfile.cpp | 31 status_t AudioProfile::checkExact(uint32_t samplingRate, audio_channel_mask_t channelMask, 35 supportsChannels(channelMask) && 98 status_t AudioProfile::checkCompatibleChannelMask(audio_channel_mask_t channelMask, 104 updatedChannelMask = channelMask; 108 const bool isIndex = audio_channel_mask_get_representation(channelMask) 113 if (supported == channelMask) { 115 updatedChannelMask = channelMask; 142 audio_channel_mask_get_bits(channelMask) 148 audio_channel_mask_get_bits(channelMask) & equivalentBits); 151 (1 << audio_channel_count_from_in_mask(channelMask)) - 1 [all...] |
/frameworks/base/core/jni/ |
android_media_AudioFormat.h | 118 static inline audio_channel_mask_t outChannelMaskToNative(int channelMask) 120 switch (channelMask) { 125 return (audio_channel_mask_t)(channelMask>>2); 139 static inline audio_channel_mask_t inChannelMaskToNative(int channelMask) 141 return (audio_channel_mask_t)channelMask;
|
/frameworks/base/media/java/android/media/tv/ |
ITvInputHardware.aidl | 58 * @param channelMask desired channel mask. Use default when it's 62 void overrideAudioSink(int audioType, String audioAddress, int samplingRate, int channelMask,
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordNative.java | 46 public boolean open(int numChannels, int channelMask, int sampleRate, 48 if (nativeOpen(mNativeRecordInJavaObj, numChannels, channelMask, 115 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, 117 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) 145 long record, int numChannels, int channelMask, 163 int numChannels, int channelMask, int sampleRate,
|
AudioTrackNative.java | 49 public boolean open(int numChannels, int channelMask, int sampleRate, 51 if (nativeOpen(mNativeTrackInJavaObj, numChannels, channelMask, 122 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, 124 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) 152 long track, int numChannels, int channelMask, 170 int numChannels, int channelMask, int sampleRate,
|
AudioHelper.java | 214 public static int outChannelMaskFromInChannelMask(int channelMask) { 215 switch (channelMask) { 231 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, 233 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, 237 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, 241 // super(audioSource, sampleRate, channelMask, format, bufferSize); 246 ? new AudioFormat.Builder().setChannelIndexMask(channelMask) 247 : new AudioFormat.Builder().setChannelMask(channelMask)) 255 final int channelOutMask = isChannelIndex ? channelMask : 256 outChannelMaskFromInChannelMask(channelMask); [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
AudioPort.h | 87 audio_channel_mask_t channelMask, 90 return mProfiles.checkExactProfile(samplingRate, channelMask, format); 96 audio_channel_mask_t &channelMask, 99 return mProfiles.checkCompatibleProfile(samplingRate, channelMask, format, mType, mRole); 107 audio_channel_mask_t &channelMask, 146 void pickChannelMask(audio_channel_mask_t &channelMask, const ChannelsVector &channelMasks) const;
|
AudioSession.h | 38 audio_channel_mask_t channelMask, 51 audio_channel_mask_t channelMask() const { return mConfig.channel_mask; }
|
/frameworks/av/media/libnbaio/ |
AudioStreamInSource.cpp | 47 audio_channel_mask_t channelMask = 50 audio_channel_count_from_in_mask(channelMask), streamFormat);
|
AudioStreamOutSink.cpp | 44 audio_channel_mask_t channelMask = 47 audio_channel_count_from_out_mask(channelMask), streamFormat);
|
/frameworks/wilhelm/src/android/ |
AudioRecorder_to_android.cpp | 441 df_pcm->channelMask, 445 // note that df_pcm->channelMask has already been validated during object creation. 446 audio_channel_mask_t channelMask = sles_to_audio_input_channel_mask(df_pcm->channelMask); 450 if (channelMask == AUDIO_CHANNEL_INVALID 451 || audio_channel_mask_get_representation(channelMask) 453 channelMask = audio_channel_in_mask_from_count(df_pcm->numChannels); 456 "channel count of %d)", df_pcm->channelMask, channelMask, 459 SL_LOGV("SLES channel mask %#x converted to Android mask %#x", df_pcm->channelMask, channelMask) [all...] |
/frameworks/av/services/audioflinger/ |
RecordTracks.h | 29 audio_channel_mask_t channelMask, 97 audio_channel_mask_t channelMask,
|
/frameworks/wilhelm/tests/sandbox/ |
srcsink.c | 48 format_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; 161 format_pcm.channelMask = 0; 167 format_pcm.channelMask = SL_SPEAKER_FRONT_CENTER; 172 format_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT | 179 format_pcm.channelMask = 0; 185 format_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT;
|