Skip to content
  • Thomas Guillem's avatar
    audiotrack: add java module · c1f8d1ce
    Thomas Guillem authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    This module is based on the old native audiotrack but uses the public Java
    AudioTrack API via JNI. All JNI operations are done in a separate thread in
    order to avoid the overhead when attaching and detaching the current thread to
    the Java VM.
    
    News since native audiotrack:
     - Flush discards audio immediately (if not wait).
     - It can handle a mediaserver crash and restart (for Android 5.0 and after).
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    c1f8d1ce