Searched refs:afLatency (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 85 uint32_t afLatency; in getMinFrameCount() local 86 status = AudioSystem::getOutputLatency(&afLatency, streamType); in getMinFrameCount() 94 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate); in getMinFrameCount() 109 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency); in getMinFrameCount() 959 uint32_t afLatency; in createTrack_l() local 960 status = AudioSystem::getLatency(output, &afLatency); in createTrack_l() 996 ALOGV("createTrack_l() output %d afLatency %d", output, afLatency); in createTrack_l() 1052 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate); in createTrack_l() 1054 afFrameCount, minBufCount, afSampleRate, afLatency); in createTrack_l() 1062 minFrameCount, afFrameCount, minBufCount, mSampleRate, afSampleRate, afLatency); in createTrack_l() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 467 uint32_t afLatency; in android_media_AudioSystem_getOutputLatency() local 468 if (AudioSystem::getOutputLatency(&afLatency, static_cast <audio_stream_type_t>(stream)) in android_media_AudioSystem_getOutputLatency() 470 afLatency = -1; in android_media_AudioSystem_getOutputLatency() 472 return (jint) afLatency; in android_media_AudioSystem_getOutputLatency()
|