Home
last modified time | relevance | path

Searched refs:afSampleRate (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h147 afSampleRate = parcel->readInt64(); in readFromParcel()
165 (void)parcel->writeInt64(afSampleRate); in writeToParcel()
182 uint32_t afSampleRate; variable
DAudioSystem.h120 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate,
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp748 uint32_t afSampleRate; in play() local
754 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in play()
755 afSampleRate = kDefaultSampleRate; in play()
769 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp261 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, in calculateMinFrameCount() argument
265 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount()
278 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount()
281 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount()
DAudioTrack.cpp121 uint32_t afSampleRate; in getMinFrameCount() local
123 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount()
146 *frameCount = AudioSystem::calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, in getMinFrameCount()
158 __func__, *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
1496 mAfSampleRate = output.afSampleRate; in createTrack_l()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1892 uint32_t afSampleRate; in open() local
1897 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()
1900 if (afSampleRate == 0) { in open()
1904 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp850 output.afSampleRate = thread->sampleRate(); in createTrack()