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

12

/frameworks/wilhelm/src/android/
H A Dandroid_sles_conversions.h65 static inline audio_channel_mask_t sles_to_android_channelMaskIn(SLuint32 nbChannels, SLuint32 channelMask) { argument
71 static inline audio_channel_mask_t sles_to_android_channelMaskOut(SLuint32 nbChannels, SLuint32 channelMask) { argument
87 uint32_t channelMask; local
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp48 audio_channel_mask_t channelMask = local
50 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
H A DAudioStreamOutSink.cpp45 audio_channel_mask_t channelMask = local
47 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
/frameworks/av/include/media/
H A DAudioRecord.h104 audio_channel_mask_t channelMask);
122 * channelMask: Channel mask.
136 audio_channel_mask_t channelMask = AUDIO_CHANNEL_IN_MONO,
161 audio_channel_mask_t channelMask = AUDIO_CHANNEL_IN_MONO,
346 audio_channel_mask_t channelMask,
H A DAudioTrack.h138 * channelMask: Channel mask.
157 audio_channel_mask_t channelMask = 0,
169 int channelMask = 0,
189 audio_channel_mask_t channelMask = 0,
207 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
213 audio_channel_mask_t channelMask = 0,
245 * channelCount is determined from channelMask, and bit depth comes from format.
488 audio_channel_mask_t channelMask,
H A DIAudioPolicyService.h54 audio_channel_mask_t channelMask = 0,
66 audio_channel_mask_t channelMask = 0,
H A DAudioSystem.h116 audio_channel_mask_t channelMask, size_t* buffSize);
194 audio_channel_mask_t channelMask = AUDIO_CHANNEL_OUT_STEREO,
206 audio_channel_mask_t channelMask = AUDIO_CHANNEL_IN_MONO,
H A DIAudioFlinger.h63 audio_channel_mask_t channelMask,
77 audio_channel_mask_t channelMask,
133 audio_channel_mask_t channelMask) const = 0;
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp42 audio_channel_mask_t channelMask)
50 if (AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size)
57 ALOGE("Unsupported configuration: sampleRate %d, format %d, channelMask %#x",
58 sampleRate, format, channelMask);
66 int channelCount = popcount(channelMask);
86 audio_channel_mask_t channelMask,
95 mStatus = set(inputSource, sampleRate, format, channelMask,
121 audio_channel_mask_t channelMask,
130 ALOGV("set(): sampleRate %d, channelMask %#x, frameCount %d",sampleRate, channelMask, frameCoun
38 getMinFrameCount( int* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
82 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
117 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava, int sessionId) argument
425 openRecord_l( uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_io_handle_t input) argument
[all...]
H A DIAudioFlinger.cpp91 audio_channel_mask_t channelMask,
107 data.writeInt32(channelMask);
140 audio_channel_mask_t channelMask,
154 data.writeInt32(channelMask);
357 audio_channel_mask_t channelMask) const
363 data.writeInt32(channelMask);
380 audio_channel_mask_t channelMask = pChannelMask ? *pChannelMask : (audio_channel_mask_t)0; local
388 data.writeInt32(channelMask);
400 channelMask = (audio_channel_mask_t)reply.readInt32();
401 if (pChannelMask) *pChannelMask = channelMask;
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
455 audio_channel_mask_t channelMask = pChannelMask ? *pChannelMask : (audio_channel_mask_t)0; local
725 audio_channel_mask_t channelMask = data.readInt32(); local
747 audio_channel_mask_t channelMask = data.readInt32(); local
876 audio_channel_mask_t channelMask = data.readInt32(); local
886 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32(); local
933 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32(); local
[all...]
H A DAudioTrack.cpp66 // audio_channel_mask_t channelMask
106 audio_channel_mask_t channelMask,
118 mStatus = set(streamType, sampleRate, format, channelMask,
128 int channelMask,
140 (audio_channel_mask_t) channelMask,
149 audio_channel_mask_t channelMask,
161 mStatus = set(streamType, sampleRate, format, channelMask,
190 audio_channel_mask_t channelMask,
228 if (channelMask == 0) {
229 channelMask
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
145 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[all...]
H A DAudioSystem.cpp338 audio_channel_mask_t channelMask, size_t* buffSize)
344 || (channelMask != gPrevInChannelMask)) {
350 inBuffSize = af->getInputBufferSize(sampleRate, format, channelMask);
355 gPrevInChannelMask = channelMask;
591 audio_channel_mask_t channelMask,
596 return aps->getOutput(stream, samplingRate, format, channelMask, flags);
627 audio_channel_mask_t channelMask,
632 return aps->getInput(inputSource, samplingRate, format, channelMask, sessionId);
337 getInputBufferSize(uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t* buffSize) argument
588 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
624 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int sessionId) argument
H A DIAudioPolicyService.cpp127 audio_channel_mask_t channelMask,
135 data.writeInt32(channelMask);
179 audio_channel_mask_t channelMask,
187 data.writeInt32(channelMask);
428 audio_channel_mask_t channelMask = data.readInt32(); local
435 channelMask,
475 audio_channel_mask_t channelMask = data.readInt32(); local
480 channelMask,
123 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
175 getInput( audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
/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/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp393 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
424 if (channelMask == CHANNEL_MASK_USE_CHANNEL_ORDER) {
427 channelMask = AUDIO_CHANNEL_OUT_MONO;
430 channelMask = AUDIO_CHANNEL_OUT_STEREO;
443 channelMask,
453 channelMask,
392 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp118 int32_t numChannels, channelMask; local
122 if(!format->findInt32(kKeyChannelMask, &channelMask)) {
126 channelMask = CHANNEL_MASK_USE_CHANNEL_ORDER;
132 mSampleRate, numChannels, channelMask, AUDIO_FORMAT_PCM_16_BIT,
158 audio_channel_mask_t audioMask = channelMask == CHANNEL_MASK_USE_CHANNEL_ORDER ?
159 audio_channel_out_mask_from_count(numChannels) : channelMask;
H A DUtils.cpp96 int32_t channelMask; local
97 if (meta->findInt32(kKeyChannelMask, &channelMask)) {
98 msg->setInt32("channel-mask", channelMask);
384 int32_t channelMask; local
385 if (msg->findInt32("channel-mask", &channelMask)) {
386 meta->setInt32(kKeyChannelMask, channelMask);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h94 audio_channel_mask_t channelMask,
108 audio_channel_mask_t channelMask,
146 audio_channel_mask_t channelMask) const;
390 audio_channel_mask_t channelMask,
422 audio_channel_mask_t channelMask() const { return mChannelMask; } function in class:android::AudioFlinger::ThreadBase::TrackBase
558 audio_channel_mask_t channelMask() const { return mChannelMask; } function in class:android::AudioFlinger::ThreadBase
782 audio_channel_mask_t channelMask,
906 audio_channel_mask_t channelMask,
949 audio_channel_mask_t channelMask,
998 audio_channel_mask_t channelMask,
[all...]
H A DAudioMixer.h94 int getTrackName(audio_channel_mask_t channelMask, int sessionId);
169 audio_channel_mask_t channelMask; member in struct:android::AudioMixer::track_t
H A DAudioPolicyService.h67 audio_channel_mask_t channelMask = 0,
80 audio_channel_mask_t channelMask = 0,
H A DAudioMixer.cpp166 int AudioMixer::getTrackName(audio_channel_mask_t channelMask, int sessionId) argument
191 t->channelMask = AUDIO_CHANNEL_OUT_STEREO;
208 status_t status = initTrackDownmix(&mState.tracks[n], n, channelMask);
213 channelMask);
232 pTrack->channelMask = mask;
259 ALOGV("AudioMixer::prepareTrackForDownmix(%d) with mask 0x%x", trackName, pTrack->channelMask);
281 pDbp->mDownmixConfig.inputCfg.channels = pTrack->channelMask;
421 if (track.channelMask != mask) {
424 track.channelMask = mask;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp397 int32_t channelMask; local
398 if (!codecRequest->findInt32("channel-mask", &channelMask)) {
399 channelMask = CHANNEL_MASK_USE_CHANNEL_ORDER;
405 (audio_channel_mask_t)channelMask,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1374 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
1388 ALOGV("open(%u, %d, 0x%x, %d, %d, %d)", sampleRate, channelCount, channelMask,
1403 if (channelMask == CHANNEL_MASK_USE_CHANNEL_ORDER) {
1404 channelMask = audio_channel_out_mask_from_count(channelCount);
1405 if (0 == channelMask) {
1419 channelMask,
1431 channelMask,
1775 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
1779 ALOGV("open(%u, %d, 0x%x, %d, %d)", sampleRate, channelCount, channelMask, format, bufferCount);
1373 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
1774 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
H A DMediaPlayerService.h94 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
195 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
/frameworks/wilhelm/src/
H A Ddata.c432 switch (pDataFormat->mPCM.channelMask) {
448 pDataFormat->mPCM.channelMask = pDataFormat->mPCM.numChannels == 2 ?
456 SL_LOGE("%s: channelMask=0x%x numChannels=%u", name,
457 pDataFormat->mPCM.channelMask, pDataFormat->mPCM.numChannels);

Completed in 264 milliseconds

12