Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioTrack.cpp137 uint32_t afLatency; in getMinFrameCount() local
138 status = AudioSystem::getOutputLatency(&afLatency, streamType); in getMinFrameCount()
147 *frameCount = calculateMinFrameCount(afLatency, afFrameCount, afSampleRate, sampleRate, 1.0f); in getMinFrameCount()
158 *frameCount, afFrameCount, afSampleRate, afLatency); in getMinFrameCount()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp521 uint32_t afLatency; in android_media_AudioSystem_getOutputLatency() local
522 if (AudioSystem::getOutputLatency(&afLatency, static_cast <audio_stream_type_t>(stream)) in android_media_AudioSystem_getOutputLatency()
524 afLatency = -1; in android_media_AudioSystem_getOutputLatency()
526 return (jint) afLatency; in android_media_AudioSystem_getOutputLatency()