jack: don't use legacy packet API
authorTristan Matthews <le.businessman@gmail.com>
Fri, 5 Apr 2013 06:35:41 +0000 (02:35 -0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 13 Apr 2013 17:49:03 +0000 (19:49 +0200)
commit070575cc973034c42ecfbf6dc1b7c5b52ff46f77
tree64bc3f9f83453e611b2ca9d7b518858475a00d86
parent7d5483f4ffc336fbe28f326e7813667ba75284cb
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@videolan.org>
modules/audio_output/Modules.am
modules/audio_output/jack.c