Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_sles_conversions.h65 static inline audio_channel_mask_t sles_to_android_channelMaskIn(SLuint32 nbChannels, in sles_to_android_channelMaskIn() argument
68 return audio_channel_in_mask_from_count(nbChannels); in sles_to_android_channelMaskIn()
72 static inline audio_channel_mask_t sles_to_android_channelMaskOut(SLuint32 nbChannels, in sles_to_android_channelMaskOut() argument
75 return audio_channel_out_mask_from_count(nbChannels); in sles_to_android_channelMaskOut()
/frameworks/av/libvideoeditor/vss/src/
DVideoEditorResampler.cpp46 int nbChannels; member
58 uint32_t dataSize = pBuffer->frameCount * this->nbChannels * sizeof(int16_t); in getNextBuffer()
89 context->nbChannels = inChannelCount; in LVAudioResamplerCreate()
110 context->nbChannels * sizeof(int16_t)) / 1000); in LVAudiosetSampleRate()
154 memcpy(context->mInput,input,(context->nbSamples * context->nbChannels * sizeof(int16_t))); in LVAudioresample_LowQuality()
DM4PCMR_CoreReader.c105 M4OSA_chrGetUInt16(pTempURL, &(context->m_decoderConfig.nbChannels), in M4PCMR_openRead()
118 * context->m_decoderConfig.nbChannels; in M4PCMR_openRead()
125 context->m_blockSize = 2048 * context->m_decoderConfig.nbChannels; // Raw PCM. Hence, get a in M4PCMR_openRead()
131 context->m_blockSize = context->m_decoderConfig.nbChannels *\ in M4PCMR_openRead()
138 context->m_blockSize = 2048 * context->m_decoderConfig.nbChannels; in M4PCMR_openRead()
237 switch(c->m_decoderConfig.nbChannels) in M4PCMR_getNextStream()
252 switch(c->m_decoderConfig.nbChannels) in M4PCMR_getNextStream()
510 alignment = c->m_decoderConfig.nbChannels*c->m_decoderConfig.BitsPerSample/8; in M4PCMR_seek()
DM4READER_Pcm.c370 (((streamDesc.averageBitrate/8)/50)/pDsi->nbChannels)\ in M4READER_PCM_getNextStream()
377 (M4OSA_UInt32)(((streamDesc.averageBitrate/8)/15.625)/pDsi->nbChannels)\ in M4READER_PCM_getNextStream()
381 pAudioStreamHandler->m_nbChannels = pDsi->nbChannels; in M4READER_PCM_getNextStream()
DM4VSS3GPP_Edit.c2448 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */ in M4VSS3GPP_intCreate3GPPOutputFile()
2472 pC_ewc->WriterAudioStreamInfo.nbChannels = in M4VSS3GPP_intCreate3GPPOutputFile()
DM4PTO3GPP_API.c1609 pC->m_pWriterAudioStreamInfo->nbChannels = 1; /**< unused by our shell writer */ in M4PTO3GPP_Ready4Processing()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp180 uint32_t nbChannels = popcount(channels); in android_media_AudioRecord_setup() local
197 int frameSize = nbChannels * bytesPerSample; in android_media_AudioRecord_setup()
505 jint sampleRateInHertz, jint nbChannels, jint audioFormat) { in android_media_AudioRecord_get_min_buff_size() argument
508 sampleRateInHertz, nbChannels, audioFormat); in android_media_AudioRecord_get_min_buff_size()
515 audio_channel_in_mask_from_count(nbChannels)); in android_media_AudioRecord_get_min_buff_size()
523 return frameCount * nbChannels * (audioFormat == javaAudioRecordFields.PCM16 ? 2 : 1); in android_media_AudioRecord_get_min_buff_size()
Dandroid_media_AudioTrack.cpp232 int nbChannels = popcount(nativeChannelMask); in android_media_AudioTrack_native_setup() local
276 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample); in android_media_AudioTrack_native_setup()
805 jint sampleRateInHertz, jint nbChannels, jint audioFormat) { in android_media_AudioTrack_get_min_buff_size() argument
812 return frameCount * nbChannels * (audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1); in android_media_AudioTrack_get_min_buff_size()
/frameworks/av/libvideoeditor/vss/common/inc/
DM4PCMR_CoreReader.h54 M4OSA_UInt16 nbChannels; member
DM4WRITER_common.h149 M4OSA_UInt16 nbChannels; /**< Number of channels */ member
/frameworks/base/media/java/android/media/
DAudioRecord.java806 int recordSource, int sampleRate, int nbChannels, int audioFormat, in native_setup() argument
DAudioTrack.java1232 int streamType, int sampleRate, int nbChannels, int audioFormat, in native_setup() argument
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_API.c6890 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */ in M4MCS_intPrepareWriter()