Home
last modified time | relevance | path

Searched refs:afLatency (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp583 uint32_t afLatency; in android_media_AudioSystem_getOutputLatency() local
584 if (AudioSystem::getOutputLatency(&afLatency, static_cast <audio_stream_type_t>(stream)) in android_media_AudioSystem_getOutputLatency()
586 afLatency = -1; in android_media_AudioSystem_getOutputLatency()
588 return (jint) afLatency; in android_media_AudioSystem_getOutputLatency()
/frameworks/av/media/libmedia/
DAudioTrack.cpp145 uint32_t afLatency; in getMinFrameCount() local
146 status = AudioSystem::getOutputLatency(&afLatency, streamType); in getMinFrameCount()
155 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f in getMinFrameCount()
167 *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()