vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Tue Mar 3 19:00:55 2015 +0100| [a0107422ab3db4c34896d4c100c865bd5cda04fa] | committer: Jean-Baptiste Kempf
audiotrack: fix too unstable delay and write taking too much time - All JNIThread commands are now executed in a locked state. - The delay (audiotrack delay + queue delay) is now calculated inside JNIThread. - Write is now non-blocking and return almost immediately (it takes between 5us and 100us). Indeed when audiotrack internal buffer was full, write method was taking way too much time, therefore others commands were not processed in time (like TIME_GET). Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0107422ab3db4c34896d4c100c865bd5cda04fa --- modules/audio_output/audiotrack.c | 280 ++++++++++++++++++++++++------------- 1 file changed, 182 insertions(+), 98 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=a0107422ab3db4c34896d4c100c865bd5cda04fa _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits