Searched refs:nbChannels (Results 1 - 13 of 13) sorted by relevance

/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
67 return audio_channel_in_mask_from_count(nbChannels);
71 static inline audio_channel_mask_t sles_to_android_channelMaskOut(SLuint32 nbChannels, SLuint32 channelMask) { argument
73 return audio_channel_out_mask_from_count(nbChannels);
/frameworks/av/libvideoeditor/vss/src/
H A DVideoEditorResampler.cpp46 int nbChannels; member in struct:android::VideoEditorResampler
58 uint32_t dataSize = pBuffer->frameCount * this->nbChannels * sizeof(int16_t);
89 context->nbChannels = inChannelCount;
110 context->nbChannels * sizeof(int16_t)) / 1000);
154 memcpy(context->mInput,input,(context->nbSamples * context->nbChannels * sizeof(int16_t)));
H A DM4PCMR_CoreReader.c105 M4OSA_chrGetUInt16(pTempURL, &(context->m_decoderConfig.nbChannels),
118 * context->m_decoderConfig.nbChannels;
125 context->m_blockSize = 2048 * context->m_decoderConfig.nbChannels; // Raw PCM. Hence, get a
131 context->m_blockSize = context->m_decoderConfig.nbChannels *\
138 context->m_blockSize = 2048 * context->m_decoderConfig.nbChannels;
237 switch(c->m_decoderConfig.nbChannels)
252 switch(c->m_decoderConfig.nbChannels)
510 alignment = c->m_decoderConfig.nbChannels*c->m_decoderConfig.BitsPerSample/8;
H A DM4READER_Pcm.c370 (((streamDesc.averageBitrate/8)/50)/pDsi->nbChannels)\
377 (M4OSA_UInt32)(((streamDesc.averageBitrate/8)/15.625)/pDsi->nbChannels)\
381 pAudioStreamHandler->m_nbChannels = pDsi->nbChannels;
H A DM4VSS3GPP_Edit.c2448 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */
2472 pC_ewc->WriterAudioStreamInfo.nbChannels =
H A DM4PTO3GPP_API.c1609 pC->m_pWriterAudioStreamInfo->nbChannels = 1; /**< unused by our shell writer */
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp180 uint32_t nbChannels = popcount(channels); local
197 int frameSize = nbChannels * bytesPerSample;
509 jint sampleRateInHertz, jint nbChannels, jint audioFormat) {
512 sampleRateInHertz, nbChannels, audioFormat);
519 audio_channel_in_mask_from_count(nbChannels));
527 return frameCount * nbChannels * (audioFormat == javaAudioRecordFields.PCM16 ? 2 : 1);
508 android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument
H A Dandroid_media_AudioTrack.cpp230 int nbChannels = popcount(nativeChannelMask); local
274 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample);
787 jint sampleRateInHertz, jint nbChannels, jint audioFormat) {
794 return frameCount * nbChannels * (audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1);
786 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4PCMR_CoreReader.h54 M4OSA_UInt16 nbChannels; member in struct:__anon160
H A DM4WRITER_common.h149 M4OSA_UInt16 nbChannels; /**< Number of channels */ member in struct:__anon196
/frameworks/base/media/java/android/media/
H A DAudioRecord.java802 int recordSource, int sampleRate, int nbChannels, int audioFormat,
801 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int[] sessionId) argument
H A DAudioTrack.java1207 int streamType, int sampleRate, int nbChannels, int audioFormat,
1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c6890 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */

Completed in 153 milliseconds