• Thomas Guillem's avatar
    audiotrack: increase audio latency · e7309f3b
    Thomas Guillem authored
    Queue more than one audio buffer at a time (limit of 1 second). TimeGet will
    report a bigger delay, but the module will be more stable and more efficient.
    
    AudioTrack delay is now calculated by JNIThread when a buffer is written.
    Overall delay is calculated in TimeGet by adding AudioTrack delay and queued
    delay.
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    e7309f3b
audiotrack.c 32.8 KB