Searched refs:channelMask (Results 1 - 25 of 76) sorted by relevance

1234

/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 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 DAudioMixPortConfig.java29 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, argument
31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain);
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 DAudioMixPort.java38 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument
40 return new AudioMixPortConfig(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 DAudioDevicePort.java75 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, argument
77 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
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;
/frameworks/base/media/java/android/media/tv/
H A DITvInputHardware.aidl58 * @param channelMask desired channel mask. Use default when it's
62 void overrideAudioSink(int audioType, String audioAddress, int samplingRate, int channelMask,
/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/wilhelm/tests/sandbox/
H A Dsrcsink.c48 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/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,
H A DAudioRecord.h114 audio_channel_mask_t channelMask);
140 * channelMask: Channel mask, such that audio_is_input_channel(channelMask) is true.
161 audio_channel_mask_t channelMask,
183 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
195 audio_channel_mask_t channelMask,
H A DIAudioFlinger.h67 audio_channel_mask_t channelMask,
87 audio_channel_mask_t channelMask,
146 audio_channel_mask_t channelMask) const = 0;
/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp57 data.writeInt32(desc->channelMask);
87 desc.channelMask = (audio_channel_mask_t) data.readInt32();
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 DAudioSystem.cpp367 audio_channel_mask_t channelMask, size_t* buffSize)
377 || (channelMask != gPrevInChannelMask)) {
379 inBuffSize = af->getInputBufferSize(sampleRate, format, channelMask);
382 ALOGE("AudioSystem::getInputBufferSize failed sampleRate %d format %#x channelMask %x",
383 sampleRate, format, channelMask);
390 gPrevInChannelMask = channelMask;
504 outputDesc->samplingRate, outputDesc->format, outputDesc->channelMask,
529 desc->channelMask, desc->frameCount, desc->latency);
643 audio_channel_mask_t channelMask,
649 return aps->getOutput(stream, samplingRate, format, channelMask, flag
366 getInputBufferSize(uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t* buffSize) argument
640 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
652 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
696 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
[all...]
/frameworks/av/services/audioflinger/
H A DRecordTracks.h29 audio_channel_mask_t channelMask,
105 audio_channel_mask_t channelMask,
H A DPlaybackTracks.h30 audio_channel_mask_t channelMask,
172 audio_channel_mask_t channelMask,
215 audio_channel_mask_t channelMask,
265 audio_channel_mask_t channelMask,
301 audio_channel_mask_t channelMask,
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

Completed in 1970 milliseconds

1234