[vlc-commits] audiotrack: JNIThread is created/joined in Open/Close

Thomas Guillem git at videolan.org
Fri Feb 20 17:30:48 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 20 17:27:40 2015 +0100| [1acd71995f226723adefbc0e78b2fc24d606ab7c] | committer: Jean-Baptiste Kempf

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 at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1acd71995f226723adefbc0e78b2fc24d606ab7c
---

 modules/audio_output/audiotrack.c |  252 +++++++++++++++++++------------------
 1 file changed, 133 insertions(+), 119 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=1acd71995f226723adefbc0e78b2fc24d606ab7c


More information about the vlc-commits mailing list