Searched defs:channelMask (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/base/media/java/android/media/
H A DAudioDevicePortConfig.java29 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 DAudioMixPortConfig.java29 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, argument
31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain);
H A DAudioGainConfig.java35 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 DAudioMixPort.java38 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument
40 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
H A DAudioDevicePort.java75 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, argument
77 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
H A DAudioPortConfig.java48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument
52 mChannelMask = channelMask;
75 public int channelMask() { method in class:AudioPortConfig
H A DAudioGain.java72 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 DAudioPort.java145 * @param channelMask The desired channel mask. AudioFormat.CHANNEL_OUT_DEFAULT if no change
151 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, argument
153 return new AudioPortConfig(this, samplingRate, channelMask, format, gain);
H A DAudioFormat.java280 private AudioFormat(int encoding, int sampleRate, int channelMask) { argument
283 mChannelMask = channelMask;
428 * @param channelMask describes the configuration of the audio channels.
442 public Builder setChannelMask(int channelMask) { argument
444 mChannelMask = channelMask;
/frameworks/base/core/jni/
H A Dandroid_media_AudioFormat.h76 static inline audio_channel_mask_t outChannelMaskToNative(int channelMask) argument
78 switch (channelMask) {
83 return (audio_channel_mask_t)(channelMask>>2);
97 static inline audio_channel_mask_t inChannelMaskToNative(int channelMask) argument
99 return (audio_channel_mask_t)channelMask;
H A Dandroid_media_AudioRecord.cpp148 jobject jaa, jint sampleRateInHertz, jint channelMask,
154 // sampleRateInHertz, audioFormat, channelMask, buffSizeInBytes);
161 if (!audio_is_input_channel(channelMask)) {
162 ALOGE("Error creating AudioRecord: channel mask %#x is not valid.", channelMask);
165 uint32_t channelCount = audio_channel_count_from_in_mask(channelMask);
234 channelMask,
147 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, jint sampleRateInHertz, jint channelMask, jint audioFormat, jint buffSizeInBytes, jintArray jSession) argument
/frameworks/wilhelm/src/android/
H A Dandroid_sles_conversions.h99 SLuint32 channelMask) {
106 SLuint32 channelMask) {
122 uint32_t channelMask; local
98 sles_to_android_channelMaskIn(SLuint32 nbChannels, SLuint32 channelMask) argument
105 sles_to_android_channelMaskOut(SLuint32 nbChannels, SLuint32 channelMask) argument
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp47 audio_channel_mask_t channelMask = local
50 audio_channel_count_from_in_mask(channelMask), streamFormat);
H A DAudioStreamOutSink.cpp44 audio_channel_mask_t channelMask = local
47 audio_channel_count_from_out_mask(channelMask), streamFormat);
/frameworks/av/include/media/
H A DAudioSystem.h120 audio_channel_mask_t channelMask, size_t* buffSize);
171 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0)
176 audio_channel_mask_t channelMask; member in class:android::AudioSystem::OutputDescriptor
216 audio_channel_mask_t channelMask = AUDIO_CHANNEL_OUT_STEREO,
225 audio_channel_mask_t channelMask = AUDIO_CHANNEL_OUT_STEREO,
245 audio_channel_mask_t channelMask,
/frameworks/av/services/audioflinger/tests/
H A Dtest-mixer.cpp226 uint32_t channelMask = audio_channel_out_mask_from_count(Providers[i].getNumChannels()); local
227 int32_t name = mixer->getTrackName(channelMask,
253 (void *)(uintptr_t)channelMask);
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp125 int32_t numChannels, channelMask; local
129 if(!format->findInt32(kKeyChannelMask, &channelMask)) {
133 channelMask = CHANNEL_MASK_USE_CHANNEL_ORDER;
175 offloadInfo.channel_mask = channelMask;
184 mSampleRate, numChannels, channelMask, audioFormat,
225 audio_channel_mask_t audioMask = channelMask == CHANNEL_MASK_USE_CHANNEL_ORDER ?
226 audio_channel_out_mask_from_count(numChannels) : channelMask;
H A DUtils.cpp139 int32_t channelMask; local
140 if (meta->findInt32(kKeyChannelMask, &channelMask)) {
141 msg->setInt32("channel-mask", channelMask);
525 int32_t channelMask; local
526 if (msg->findInt32("channel-mask", &channelMask)) {
527 meta->setInt32(kKeyChannelMask, channelMask);
601 int32_t channelMask = 0; local
610 if (meta->findInt32(kKeyChannelMask, &channelMask)) {
611 param.addInt(String8(AUDIO_OFFLOAD_CODEC_NUM_CHANNEL), channelMask); local
625 channelMask, delaySample
[all...]
/frameworks/av/services/audioflinger/
H A DTrackBase.h62 audio_channel_mask_t channelMask,
107 audio_channel_mask_t channelMask() const { return mChannelMask; } function in class:TrackBase
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImplLegacy.cpp133 audio_channel_mask_t channelMask,
146 format, channelMask, flags, offloadInfo);
238 audio_channel_mask_t channelMask,
267 format, channelMask, (audio_in_acoustics_t) 0);
569 audio_channel_mask_t channelMask,
580 *output = getOutput(*stream, samplingRate, format, channelMask,
130 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
233 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags __unused) argument
563 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session __unused, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioPolicyInterfaceImpl.cpp128 audio_channel_mask_t channelMask,
141 format, channelMask, flags, offloadInfo);
150 audio_channel_mask_t channelMask,
160 format, channelMask, flags, offloadInfo);
251 audio_channel_mask_t channelMask,
274 samplingRate, format, channelMask,
125 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
144 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
246 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp40 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);
78 audio_channel_mask_t channelMask,
92 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user,
123 audio_channel_mask_t channelMask,
36 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
74 AudioRecord( 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, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
119 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, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
[all...]
H A DSoundPool.cpp615 audio_channel_mask_t channelMask = audio_channel_out_mask_from_count(numChannels); local
620 channelMask, sample->getIMemory(), AUDIO_OUTPUT_FLAG_FAST, callback, userData);
623 channelMask, frameCount, AUDIO_OUTPUT_FLAG_FAST, callback, userData,
H A DIAudioPolicyService.cpp144 audio_channel_mask_t channelMask,
153 data.writeInt32(channelMask);
172 audio_channel_mask_t channelMask,
207 data.writeInt32(channelMask);
274 audio_channel_mask_t channelMask,
291 data.writeInt32(channelMask);
778 audio_channel_mask_t channelMask = data.readInt32(); local
789 channelMask,
811 audio_channel_mask_t channelMask = data.readInt32(); local
822 samplingRate, format, channelMask,
140 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
166 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
269 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument
870 audio_channel_mask_t channelMask = data.readInt32(); local
[all...]
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h52 SLuint32 channelMask; member in struct:SLAndroidDataFormat_PCM_EX_

Completed in 4092 milliseconds

12