Lines Matching refs:mStreamInfo

243       mStreamInfo(nullptr),  in C2SoftAacDec()
268 mStreamInfo->sampleRate = 0; // TODO: mStreamInfo is read only in onStop()
295 mStreamInfo = aacDecoder_GetStreamInfo(mAACDecoder); in initDecoder()
296 if (mStreamInfo != nullptr) { in initDecoder()
316 mDrcWrap.submitStreamData(mStreamInfo); in initDecoder()
444 >= mStreamInfo->frameSize * mStreamInfo->numChannels) { in drainRingBuffer()
447 int samplesize __unused = mStreamInfo->numChannels * sizeof(int16_t); in drainRingBuffer()
451 int numSamples = numFrames * (mStreamInfo->frameSize * mStreamInfo->numChannels); in drainRingBuffer()
645 INT prevSampleRate = mStreamInfo->sampleRate; in process()
646 INT prevNumChannels = mStreamInfo->numChannels; in process()
654 mDrcWrap.submitStreamData(mStreamInfo); in process()
664 (mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
671 int numConsumed = mStreamInfo->numTotalBytes; in process()
677 numConsumed = mStreamInfo->numTotalBytes - numConsumed; in process()
696 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; in process()
700 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
711 mStreamInfo->frameSize * mStreamInfo->numChannels)) { in process()
745 if (!mStreamInfo->sampleRate || !mStreamInfo->numChannels) { in process()
751 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in process()
752 (mStreamInfo->numChannels != prevNumChannels)) { in process()
754 prevSampleRate, mStreamInfo->sampleRate, in process()
755 prevNumChannels, mStreamInfo->numChannels); in process()
757 C2StreamSampleRateInfo::output sampleRateInfo(0u, mStreamInfo->sampleRate); in process()
758 C2StreamChannelCountInfo::output channelCountInfo(0u, mStreamInfo->numChannels); in process()
781 int32_t outputDelay = mStreamInfo->outputDelay * mStreamInfo->numChannels; in process()
854 if (avail > mStreamInfo->frameSize * mStreamInfo->numChannels) { in onFlush_sm()
855 avail = mStreamInfo->frameSize * mStreamInfo->numChannels; in onFlush_sm()
875 mDrcWrap.submitStreamData(mStreamInfo); in drainDecoder()
887 int32_t tmpOutBufferSamples = mStreamInfo->frameSize * mStreamInfo->numChannels; in drainDecoder()