/frameworks/wilhelm/src/android/ |
D | android_sles_conversions.h | 65 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/ |
D | VideoEditorResampler.cpp | 46 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()
|
D | M4PCMR_CoreReader.c | 105 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()
|
D | M4READER_Pcm.c | 370 (((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()
|
D | M4VSS3GPP_Edit.c | 2448 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */ in M4VSS3GPP_intCreate3GPPOutputFile() 2472 pC_ewc->WriterAudioStreamInfo.nbChannels = in M4VSS3GPP_intCreate3GPPOutputFile()
|
D | M4PTO3GPP_API.c | 1609 pC->m_pWriterAudioStreamInfo->nbChannels = 1; /**< unused by our shell writer */ in M4PTO3GPP_Ready4Processing()
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 180 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()
|
D | android_media_AudioTrack.cpp | 232 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/ |
D | M4PCMR_CoreReader.h | 54 M4OSA_UInt16 nbChannels; member
|
D | M4WRITER_common.h | 149 M4OSA_UInt16 nbChannels; /**< Number of channels */ member
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 806 int recordSource, int sampleRate, int nbChannels, int audioFormat, in native_setup() argument
|
D | AudioTrack.java | 1232 int streamType, int sampleRate, int nbChannels, int audioFormat, in native_setup() argument
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
D | M4MCS_API.c | 6890 streamAudioInfo.nbChannels = 1; /**< unused by our shell writer */ in M4MCS_intPrepareWriter()
|