/frameworks/base/media/java/android/media/ |
H A D | AudioDevicePortConfig.java | 29 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, argument 31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); 35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(),
|
H A D | AudioGainConfig.java | 35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, argument 40 mChannelMask = channelMask; 65 public int channelMask() { method in class:AudioGainConfig 71 * channelMask() from LSB to MSB
|
H A D | AudioMixPortConfig.java | 29 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, argument 31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain);
|
H A D | AudioGain.java | 72 AudioGain(int index, int mode, int channelMask, argument 77 mChannelMask = channelMask; 97 public int channelMask() { method in class:AudioGain 149 * @param channelMask: channels of which the gain should be modified. 154 public AudioGainConfig buildConfig(int mode, int channelMask, argument 157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
|
H A D | AudioPortConfig.java | 48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument 52 mChannelMask = channelMask; 75 public int channelMask() { method in class:AudioPortConfig
|
H A D | AudioMixPort.java | 45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument 47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
|
H A D | AudioDevicePort.java | 76 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, argument 78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
|
H A D | 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, argument 184 return new AudioPortConfig(this, samplingRate, channelMask, format, gain);
|
H A D | 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>, 594 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { argument 597 mChannelMask = channelMask; 647 * See the section on <a href="#channelMask">channel masks</a> for more information about 662 * See the section on <a href="#channelMask">channel masks</a> for more information about 797 * @param channelMask describes the configuration of the audio channels. 798 * <p> For output, the channelMask can be an OR-ed combination of 822 public @NonNull Builder setChannelMask(int channelMask) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioFormat.h | 124 static inline audio_channel_mask_t outChannelMaskToNative(int channelMask) argument 126 switch (channelMask) { 131 return (audio_channel_mask_t)(channelMask>>2); 145 static inline audio_channel_mask_t inChannelMaskToNative(int channelMask) argument 147 return (audio_channel_mask_t)channelMask;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioProfile.cpp | 31 status_t AudioProfile::checkExact(uint32_t samplingRate, audio_channel_mask_t channelMask, argument 35 supportsChannels(channelMask) && 98 status_t AudioProfile::checkCompatibleChannelMask(audio_channel_mask_t channelMask, argument 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)) 228 checkExactProfile(uint32_t samplingRate, audio_channel_mask_t channelMask, audio_format_t format) const argument 245 checkCompatibleProfile(uint32_t &samplingRate, audio_channel_mask_t &channelMask, audio_format_t &format, audio_port_type_t portType, audio_port_role_t portRole) const argument [all...] |
H A D | 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) { 30 isCompatibleProfile(audio_devices_t device, const String8& address, uint32_t samplingRate, uint32_t *updatedSamplingRate, audio_format_t format, audio_format_t *updatedFormat, audio_channel_mask_t channelMask, audio_channel_mask_t *updatedChannelMask, uint32_t flags) const argument
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputHardware.aidl | 58 * @param channelMask desired channel mask. Use default when it's 62 void overrideAudioSink(int audioType, String audioAddress, int samplingRate, int channelMask,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | 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; 86 checkExactAudioProfile(uint32_t samplingRate, audio_channel_mask_t channelMask, audio_format_t format) const argument 95 checkCompatibleAudioProfile(uint32_t &samplingRate, audio_channel_mask_t &channelMask, audio_format_t &format) const argument
|
H A D | AudioSession.h | 38 audio_channel_mask_t channelMask, 51 audio_channel_mask_t channelMask() const { return mConfig.channel_mask; } function in class:android::AudioSession
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamInSource.cpp | 51 audio_channel_mask_t channelMask; local 52 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat); 55 audio_channel_count_from_in_mask(channelMask), streamFormat);
|
H A D | AudioStreamOutSink.cpp | 48 audio_channel_mask_t channelMask; local 49 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat); 52 audio_channel_count_from_out_mask(channelMask), streamFormat);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | 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;
|
/frameworks/base/cmds/bootanimation/ |
H A D | audioplay.cpp | 144 // Determine channelMask from num_channels 145 SLuint32 channelMask; local 148 channelMask = SL_SPEAKER_FRONT_CENTER; 151 channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; 155 channelMask = 0; 164 channelMask,
|
/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 29 audio_channel_mask_t channelMask, 102 audio_channel_mask_t channelMask,
|
H A D | MmapTracks.h | 28 audio_channel_mask_t channelMask,
|
H A D | TrackBase.h | 61 audio_channel_mask_t channelMask, 110 audio_channel_mask_t channelMask() const { return mChannelMask; } function in class:TrackBase
|
/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 668 df_pcm->channelMask, 672 // note that df_pcm->channelMask has already been validated during object creation. 673 audio_channel_mask_t channelMask = sles_to_audio_input_channel_mask(df_pcm->channelMask); local 677 if (channelMask == AUDIO_CHANNEL_INVALID 678 || audio_channel_mask_get_representation(channelMask) 680 channelMask = audio_channel_in_mask_from_count(df_pcm->numChannels); 683 "channel count of %d)", df_pcm->channelMask, channelMask, 686 SL_LOGV("SLES channel mask %#x converted to Android mask %#x", df_pcm->channelMask, channelMas [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 129 int32_t numChannels, channelMask; local 133 if(!format->findInt32(kKeyChannelMask, &channelMask)) { 137 channelMask = CHANNEL_MASK_USE_CHANNEL_ORDER; 183 offloadInfo.channel_mask = channelMask; 192 mSampleRate, numChannels, channelMask, audioFormat, 233 audio_channel_mask_t audioMask = channelMask == CHANNEL_MASK_USE_CHANNEL_ORDER ? 234 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 40 audio_channel_mask_t channelMask) 47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); 50 "channelMask %#x; status %d", sampleRate, format, channelMask, status); 56 if ((*frameCount = (size * 2) / (audio_channel_count_from_in_mask(channelMask) * 58 ALOGE("Unsupported configuration: sampleRate %u, format %#x, channelMask %#x", 59 sampleRate, format, channelMask); 80 audio_channel_mask_t channelMask, 102 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user, 139 audio_channel_mask_t channelMask, 36 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument 76 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes) argument 135 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes) argument [all...] |