Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/aidl/android/media/
DCreateTrackResponse.aidl42 int afSampleRate;
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp113 aidl.afSampleRate = VALUE_OR_RETURN(convertIntegral<int32_t>(afSampleRate)); in toAidl()
142 legacy.afSampleRate = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.afSampleRate)); in fromAidl()
DAudioTrack.cpp130 uint32_t afSampleRate; in getMinFrameCount() local
132 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount()
155 *frameCount = AudioSystem::calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, in getMinFrameCount()
167 __func__, *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
1908 mAfSampleRate = output.afSampleRate; in createTrack_l()
DAudioSystem.cpp401 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate, in calculateMinFrameCount() argument
404 uint32_t minBufCount = afLatencyMs / ((1000 * afFrameCount) / afSampleRate); in calculateMinFrameCount()
417 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount in calculateMinFrameCount()
420 sampleRate, afFrameCount, afSampleRate, speed); in calculateMinFrameCount()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2111 uint32_t afSampleRate; in open() local
2116 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()
2119 if (afSampleRate == 0) { in open()
2123 (unsigned long long)sampleRate * afFrameCount / afSampleRate; in open()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h198 uint32_t afLatencyMs, uint32_t afFrameCount, uint32_t afSampleRate,
DIAudioFlinger.h119 uint32_t afSampleRate; variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1122 output.afSampleRate = thread->sampleRate(); in createTrack()