Home
last modified time | relevance | path

Searched refs:prevSampleRate (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp324 static bool isClose(int32_t newSampleRate, int32_t prevSampleRate, in isClose() argument
335 int pdiff = absdiff(newSampleRate, prevSampleRate); in isClose()
340 return pdiff < prevSampleRate>>4 && adiff < filterSampleRate>>3; in isClose()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp755 INT prevSampleRate = mStreamInfo->sampleRate; in onQueueFilled() local
867 } else if ((mStreamInfo->sampleRate != prevSampleRate) || in onQueueFilled()
870 prevSampleRate, mStreamInfo->sampleRate, in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp678 signed int prevSampleRate = mSampFreq; in onQueueFilled() local
703 } else if ((mSampFreq != prevSampleRate) || (mNumChannels != prevNumChannels)) { in onQueueFilled()
704 ALOGV("Reconfiguring decoder: %d->%d Hz, %d->%d channels", prevSampleRate, in onQueueFilled()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3806 int32_t prevSampleRate; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
3807 CHECK(mLastTrack->meta.findInt32(kKeySampleRate, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3809 if (prevSampleRate != sampleRate) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
3811 "was: %d, now: %d", prevSampleRate, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()