Searched defs:nbChannels (Results 1 - 8 of 8) 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/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/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)));
/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/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

Completed in 1756 milliseconds