/frameworks/av/media/libnbaio/ |
H A D | AudioStreamInSource.cpp | 48 audio_channel_mask_t channelMask = local 50 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
|
H A D | AudioStreamOutSink.cpp | 45 audio_channel_mask_t channelMask = local 47 mFormat = Format_from_SR_C(sampleRate, popcount(channelMask));
|
/frameworks/wilhelm/src/android/ |
H A D | android_sles_conversions.h | 65 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/libstagefright/ |
H A D | Utils.cpp | 96 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);
|
H A D | AudioPlayer.cpp | 118 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;
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 42 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 D | IAudioPolicyService.cpp | 127 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
|
H A D | AudioSystem.cpp | 338 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 D | AudioTrack.cpp | 66 // 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 D | IAudioFlinger.cpp | 91 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...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 397 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/services/audioflinger/ |
H A D | AudioMixer.h | 94 int getTrackName(audio_channel_mask_t channelMask, int sessionId); 169 audio_channel_mask_t channelMask; member in struct:android::AudioMixer::track_t
|
H A D | AudioMixer.cpp | 166 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 D | AudioPolicyService.cpp | 222 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
|
H A D | AudioFlinger.h | 94 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 D | AudioFlinger.cpp | 446 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...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 393 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/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1374 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
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 362 SLuint32 channelMask; member in struct:SLDataFormat_PCM_
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 387 XAuint32 channelMask; member in struct:XADataFormat_PCM_
|