Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 25 of 27) 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()
161 return format.mSampleRate != 0 && format.mChannelCount != 0 && in Format_isValid()
168 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
/frameworks/av/media/libstagefright/
DAACWriter.cpp45 mChannelCount(-1), in AACWriter()
63 mChannelCount(-1), in AACWriter()
104 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource()
106 CHECK(mChannelCount >= 1 && mChannelCount <= 2); in addSource()
273 const uint8_t kChannelConfigCode = mChannelCount; in writeAdtsHeader()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java52 private final int mChannelCount; field in BlockingAudioTrack
84 mChannelCount = channelCount; in BlockingAudioTrack()
86 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
212 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack()
DFileSynthesisCallback.java44 private int mChannelCount; field in FileSynthesisCallback
127 mChannelCount = channelCount; in start()
222 channelCount = mChannelCount; in done()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp44 mChannelCount(2), in SoftRaw()
118 pcmParams->nChannels = mChannelCount; in internalGetParameter()
155 mChannelCount = pcmParams->nChannels; in internalSetParameter()
DSoftRaw.h51 int32_t mChannelCount; member
/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp390 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate()
414 LOG_ALWAYS_FATAL_IF(mChannelCount < 1 || mChannelCount > 8, in setSampleRate()
415 "Resampler channels(%d) must be between 1 to 8", mChannelCount); in setSampleRate()
418 switch (mChannelCount) { in setSampleRate()
445 switch (mChannelCount) { in setSampleRate()
474 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
DTrackBase.h105 uint32_t channelCount() const { return mChannelCount; } in channelCount()
151 const uint32_t mChannelCount; variable
DAudioResamplerSinc.cpp497 const size_t stateSize = numCoefs * mChannelCount * 2; in init()
500 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount; in init()
501 mRingFull = mImpulse + (numCoefs+1)*mChannelCount; in init()
525 switch (mChannelCount) { in resample()
DAudioResampler.h100 const int32_t mChannelCount; variable
DThreads.cpp589 dprintf(fd, " Channel Count: %u\n", mChannelCount); in dumpBase()
922 if ((mType == MIXER || mType == DUPLICATING) && mChannelCount != FCC_2) { in createEffect_l()
924 desc->name, mChannelCount, mType == MIXER ? "MIXER" : "DUPLICATING"); in createEffect_l()
1823 mChannelCount = audio_channel_count_from_out_mask(mChannelMask); in readOutputParameters_l()
1923 mMixerBufferSize = mNormalFrameCount * mChannelCount in readOutputParameters_l()
1931 mEffectBufferSize = mNormalFrameCount * mChannelCount in readOutputParameters_l()
2259 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l()
2571 mNormalFrameCount * mChannelCount); in threadLoop()
2606 mNormalFrameCount * mChannelCount); in threadLoop()
2799 mSampleRate, mChannelMask, mChannelCount, mFormat, mFrameSize, mFrameCount, in MixerThread()
[all …]
DAudioResamplerCubic.cpp42 switch (mChannelCount) { in resample()
DAudioResampler.cpp265 mChannelCount(inChannelCount), in AudioResampler()
342 switch (mChannelCount) { in resample()
DTracks.cpp87 mChannelCount(isOut ? in TrackBase()
91 mChannelCount * audio_bytes_per_sample(format) : sizeof(int8_t)), in TrackBase()
186 NBAIO_Format pipeFormat = Format_from_SR_C(mSampleRate, mChannelCount, mFormat); in TrackBase()
1716 uint32_t channelCount = mChannelCount; in write()
2011 if (thread->mSampleRate != sampleRate && thread->mChannelCount <= FCC_2 && in RecordTrack()
2015 thread->mChannelCount, sampleRate); in RecordTrack()
DThreads.h240 uint32_t channelCount() const { return mChannelCount; } in channelCount()
409 uint32_t mChannelCount; variable
/frameworks/base/media/java/android/media/
DAudioTrack.java227 private int mChannelCount = 1; field in AudioTrack
501 mChannelCount = 1; in audioParamCheck()
506 mChannelCount = 2; in audioParamCheck()
515 mChannelCount = Integer.bitCount(channelConfig); in audioParamCheck()
594 frameSizeInBytes = mChannelCount in audioBuffSizeCheck()
699 return mChannelCount; in getChannelCount()
DAudioRecord.java136 private int mChannelCount; field in AudioRecord
315 mChannelCount = AudioFormat.channelCountFromInChannelMask(format.getChannelMask()); in AudioRecord()
419 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck()
492 return mChannelCount; in getChannelCount()
/frameworks/av/include/media/stagefright/
DAACWriter.h60 int32_t mChannelCount; member
/frameworks/av/include/media/
DAudioRecord.h222 uint32_t channelCount() const { return mChannelCount; } in channelCount()
493 uint32_t mChannelCount; variable
DAudioTrack.h289 uint32_t channelCount() const { return mChannelCount; } in channelCount()
693 uint32_t mChannelCount; variable
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp83 uint8_t mChannelCount; // to avoid recomputing it every time a buffer is processed member
210 pContext->mChannelCount = in Visualizer_init()
329 for (inIdx = 0 ; inIdx < inBuffer->frameCount * pContext->mChannelCount ; inIdx++) { in Visualizer_process()
340 rmsSqAcc / (inBuffer->frameCount * pContext->mChannelCount); in Visualizer_process()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h193 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready()
197 virtual ssize_t channelCount() const { return (ssize_t)mChannelCount; } in channelCount()
244 uint16_t mChannelCount; variable
DMediaPlayerService.cpp401 mMsecsPerFrame, mChannelCount, mFormat, mFrameCount); in dump()
1959 mHeap(heap), mChannelCount(0), mFrameCount(1024), mSampleRate(0), mSize(0), in AudioCache()
2076 mChannelCount = (uint16_t)channelCount; in open()
2080 ? mChannelCount * audio_bytes_per_sample(mFormat) : 1; in open()
/frameworks/av/include/media/nbaio/
DNBAIO.h60 unsigned mChannelCount; member
/frameworks/av/media/libmedia/
DAudioTrack.cpp318 mChannelCount = channelCount; in set()
1030 if (mChannelCount > 1) { in createTrack_l()
1036 mSharedBuffer->pointer(), mChannelCount); in createTrack_l()
2076 mChannelCount, mFrameCount); in dump()

12