output/jack: use jack_client_open() instead of jack_client_new()

jack_client_new() is deprecated.  This requires libjack 0.100
(released nearly 5 years ago).  We havn't been testing older libjack
versions anyway.

As a side effect, there is the new option "autostart".
This commit is contained in:
Max Kellermann
2009-11-05 20:01:18 +01:00
parent 9449006ac3
commit 2a9685cb3a
4 changed files with 36 additions and 5 deletions

View File

@@ -700,7 +700,7 @@ AC_ARG_ENABLE(jack,
[enable jack support]),,
enable_jack=auto)
MPD_AUTO_PKG(jack, JACK, [jack >= 0.4],
MPD_AUTO_PKG(jack, JACK, [jack >= 0.100],
[JACK output plugin], [libjack not found])
if test x$enable_jack = xyes; then
AC_DEFINE([HAVE_JACK], 1, [Define to enable JACK support])