[vlc-commits] jack: don't use legacy packet API

Tristan Matthews git at videolan.org
Sat Apr 13 19:50:02 CEST 2013


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Fri Apr  5 02:35:41 2013 -0400| [070575cc973034c42ecfbf6dc1b7c5b52ff46f77] | committer: Jean-Baptiste Kempf

jack: don't use legacy packet API

Instead, use a jack_ringbuffer which is shared between the thread
calling Play() and JACK's audio Process() thread. The ringbuffer is
a lock-free structure, safe for one writer and one reader thread to
use.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/audio_output/Modules.am |    2 +-
 modules/audio_output/jack.c     |  222 +++++++++++++++++++++++++++++++--------
 2 files changed, 181 insertions(+), 43 deletions(-)

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


More information about the vlc-commits mailing list