pulse: code rewrite using the asynchronous libpulse API
This is a complete rewrite of the PulseAudio output plugin. It uses the asynchronous API, which gives us more control over everything. Additionally, it connects to the PulseAudio server on startup, and keeps this connection up while MPD runs. During pause, instead of closing the stream, it enables "cork".
This commit is contained in:
@@ -726,7 +726,7 @@ AC_ARG_ENABLE(pulse,
|
||||
[enable support for the PulseAudio sound server]),,
|
||||
enable_pulse=auto)
|
||||
|
||||
MPD_AUTO_PKG(pulse, PULSE, [libpulse-simple],
|
||||
MPD_AUTO_PKG(pulse, PULSE, [libpulse],
|
||||
[PulseAudio output plugin], [libpulse not found])
|
||||
if test x$enable_pulse = xyes; then
|
||||
AC_DEFINE([HAVE_PULSE], 1,
|
||||
|
||||
Reference in New Issue
Block a user