]> git.sesse.net Git - vlc/commit
audiotrack: add java module
authorThomas Guillem <thomas@gllm.fr>
Tue, 10 Feb 2015 09:58:51 +0000 (10:58 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 10 Feb 2015 10:14:02 +0000 (11:14 +0100)
commitc1f8d1ce6634598cbdf9829591d5e548787bf3e9
tree20d056b2bd091b2f6afa833cea66dd9d793802bd
parent3277a4c37f911fcc9659691840a3a9a00f72d134
audiotrack: add java module

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: Jean-Baptiste Kempf <jb@videolan.org>
modules/audio_output/Makefile.am
modules/audio_output/audiotrack.c [new file with mode: 0644]