Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp259 static bool isClose(int32_t newSampleRate, int32_t prevSampleRate, in isClose() argument
270 int pdiff = absdiff(newSampleRate, prevSampleRate); in isClose()
275 return pdiff < prevSampleRate>>4 && adiff < filterSampleRate>>3; in isClose()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp640 INT prevSampleRate = mStreamInfo->sampleRate; in onQueueFilled() local
746 if (mStreamInfo->sampleRate != prevSampleRate || in onQueueFilled()
749 prevSampleRate, mStreamInfo->sampleRate, in onQueueFilled()
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp3206 int32_t prevSampleRate; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
3207 CHECK(mLastTrack->meta->findInt32(kKeySampleRate, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3209 if (prevSampleRate != sampleRate) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
3211 "was: %d, now: %d", prevSampleRate, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()