Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libnbaio/
DNBAIO.cpp45 return format.mChannelCount; in Format_channelCount()
56 ret.mChannelCount = channelCount; in Format_from_SR_C()
160 return format.mSampleRate != 0 && format.mChannelCount != 0 && in Format_isValid()
167 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
/frameworks/av/media/libstagefright/
DAACWriter.cpp48 mChannelCount(-1), in AACWriter()
86 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource()
88 CHECK(mChannelCount >= 1 && mChannelCount <= 2); in addSource()
255 const uint8_t kChannelConfigCode = mChannelCount; in writeAdtsHeader()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java51 private final int mChannelCount; field in BlockingAudioTrack
83 mChannelCount = channelCount; in BlockingAudioTrack()
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
211 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack()
DFileSynthesisCallback.java45 private int mChannelCount; field in FileSynthesisCallback
133 mChannelCount = channelCount; in start()
229 channelCount = mChannelCount; in done()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp399 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate()
423 LOG_ALWAYS_FATAL_IF(mChannelCount < 1 || mChannelCount > 8, in setSampleRate()
424 "Resampler channels(%d) must be between 1 to 8", mChannelCount); in setSampleRate()
427 switch (mChannelCount) { in setSampleRate()
454 switch (mChannelCount) { in setSampleRate()
483 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
DAudioResamplerCubic.cpp42 switch (mChannelCount) { in resample()
48 LOG_ALWAYS_FATAL("invalid channel count: %d", mChannelCount); in resample()
DAudioResamplerSinc.cpp252 const size_t stateSize = numCoefs * mChannelCount * 2; in init()
255 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount; in init()
256 mRingFull = mImpulse + (numCoefs+1)*mChannelCount; in init()
281 switch (mChannelCount) { in resample()
287 LOG_ALWAYS_FATAL("invalid channel count: %d", mChannelCount); in resample()
DBufferProviders.cpp366 mChannelCount(channelCount), in ReformatBufferProvider()
376 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
381 mChannelCount(channelCount), in TimestretchBufferProvider()
388 mSonicStream(sonicCreateStream(sampleRate, mChannelCount)), in TimestretchBufferProvider()
DAudioResampler.cpp266 mChannelCount(inChannelCount), in AudioResampler()
326 switch (mChannelCount) { in resample()
332 LOG_ALWAYS_FATAL("invalid channel count: %d", mChannelCount); in resample()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp44 mChannelCount(2), in SoftRaw()
124 pcmParams->nChannels = mChannelCount; in internalGetParameter()
169 mChannelCount = pcmParams->nChannels; in internalSetParameter()
DSoftRaw.h51 int32_t mChannelCount; member
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h159 const uint32_t mChannelCount;
190 const uint32_t mChannelCount;
/frameworks/av/services/audioflinger/
DTrackBase.h108 uint32_t channelCount() const { return mChannelCount; } in channelCount()
154 const uint32_t mChannelCount; variable
/frameworks/av/include/media/
DBufferProviders.h159 const uint32_t mChannelCount;
190 const uint32_t mChannelCount;
DAudioResampler.h102 const int32_t mChannelCount; variable
DAudioRecord.h241 uint32_t channelCount() const { return mChannelCount; } in channelCount()
605 uint32_t mChannelCount; variable
DAudioTrack.h348 uint32_t channelCount() const { return mChannelCount; } in channelCount()
1003 uint32_t mChannelCount; variable
/frameworks/base/media/java/android/media/
DAudioTrack.java319 private int mChannelCount = 1; field in AudioTrack
1016 mChannelCount = 1; in audioParamCheck()
1021 mChannelCount = 2; in audioParamCheck()
1026 mChannelCount = 0; in audioParamCheck()
1034 mChannelCount = AudioFormat.channelCountFromOutChannelMask(channelConfig); in audioParamCheck()
1046 if (mChannelCount == 0) { in audioParamCheck()
1047 mChannelCount = channelIndexCount; in audioParamCheck()
1048 } else if (mChannelCount != channelIndexCount) { in audioParamCheck()
1129 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
1274 return mChannelCount; in getChannelCount()
DAudioRecord.java180 private int mChannelCount; field in AudioRecord
363 mChannelCount = format.getChannelCount(); in AudioRecord()
368 mChannelCount = format.getChannelCount(); in AudioRecord()
371 mChannelCount = AudioFormat.channelCountFromInChannelMask(mChannelMask); in AudioRecord()
722 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck()
822 return mChannelCount; in getChannelCount()
/frameworks/av/media/libstagefright/include/
DAACWriter.h60 int32_t mChannelCount; member
/frameworks/av/media/libaudioprocessing/include/
DAudioResampler.h102 const int32_t mChannelCount; variable
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp88 uint8_t mChannelCount; // to avoid recomputing it every time a buffer is processed member
215 pContext->mChannelCount = in Visualizer_init()
333 for (inIdx = 0 ; inIdx < inBuffer->frameCount * pContext->mChannelCount ; inIdx++) { in Visualizer_process()
344 rmsSqAcc / (inBuffer->frameCount * pContext->mChannelCount); in Visualizer_process()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h241 uint32_t channelCount() const { return mChannelCount; } in channelCount()
605 uint32_t mChannelCount; variable
DAudioTrack.h348 uint32_t channelCount() const { return mChannelCount; } in channelCount()
1003 uint32_t mChannelCount; variable
/frameworks/av/media/libnbaio/include/
DNBAIO.h63 unsigned mChannelCount; member

12