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

12

/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 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 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 DIAudioFlinger.h63 audio_channel_mask_t channelMask,
77 audio_channel_mask_t channelMask,
133 audio_channel_mask_t channelMask) const = 0;
H A DIAudioPolicyService.h54 audio_channel_mask_t channelMask = 0,
66 audio_channel_mask_t channelMask = 0,
H A DMediaPlayerInterface.h97 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
/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
H A DVideoEditorPlayer.h53 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
/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 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 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 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 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/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/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/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/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.cpp446 audio_channel_mask_t channelMask,
506 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, &lStatus);
979 audio_channel_mask_t channelMask) const
990 channel_mask: channelMask,
1714 audio_channel_mask_t channelMask,
1748 ( (channelMask == AUDIO_CHANNEL_OUT_MONO) ||
1749 (channelMask == AUDIO_CHANNEL_OUT_STEREO) ) &&
1769 "mFrameCount=%d format=%d isLinear=%d channelMask=%#x sampleRate=%d mSampleRate=%d "
1773 channelMask, sampleRate, mSampleRate, hasFastMixer(), tid, mFastTrackAvailMask);
1793 if (sampleRate != mSampleRate || format != mFormat || channelMask !
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
3434 getTrackName_l(audio_channel_mask_t channelMask, int sessionId) argument
3880 getTrackName_l(audio_channel_mask_t channelMask, int sessionId) argument
4140 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
5368 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId) argument
5490 OutputTrack( PlaybackThread *playbackThread, DuplicatingThread *sourceThread, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount) argument
5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
5986 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, audio_devices_t device) argument
6241 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
8414 audio_channel_mask_t channelMask = thread->channelMask(); local
[all...]
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.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;
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.cpp222 audio_channel_mask_t channelMask,
230 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channelMask, flags);
270 audio_channel_mask_t channelMask,
283 format, channelMask, (audio_in_acoustics_t) 0);
219 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument

Completed in 1115 milliseconds

12