]> git.sesse.net Git - vlc/commit
audiotrack: JNIThread is created/joined in Open/Close
authorThomas Guillem <thomas@gllm.fr>
Fri, 20 Feb 2015 16:27:40 +0000 (17:27 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 20 Feb 2015 16:30:03 +0000 (17:30 +0100)
commit1acd71995f226723adefbc0e78b2fc24d606ab7c
tree97dc5652caebc56739ccd65cb576a84575b7461b
parentb74397521d4aa02c6036f9474bd00a879019ae91
audiotrack: JNIThread is created/joined in Open/Close

Fix Start called after a Stop (When audio track changes).

- JNIThread won't kill itself anymore: In case of error, it will wait for the
  Stop cmd.
- Handle AudioTrack exceptions: don't call audiotrack methods if an exception
  occurred.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/audio_output/audiotrack.c