From b479a264b66a5cb74fc8424d7d47035fdfad8799 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Oct 2009 10:30:42 +0200 Subject: 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". --- test/read_mixer.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/read_mixer.c') diff --git a/test/read_mixer.c b/test/read_mixer.c index fdf6b7fe1..1bf40bd5b 100644 --- a/test/read_mixer.c +++ b/test/read_mixer.c @@ -21,6 +21,8 @@ #include "mixer_list.h" #include "filter_registry.h" #include "pcm_volume.h" +#include "output/pulse_output_plugin.h" +#include "event_pipe.h" #include @@ -28,6 +30,17 @@ #include #include +void +pulse_output_context_state_cb(G_GNUC_UNUSED struct pa_context *context, + G_GNUC_UNUSED void *userdata) +{ +} + +void +event_pipe_emit(G_GNUC_UNUSED enum pipe_event event) +{ +} + const struct filter_plugin * filter_plugin_by_name(G_GNUC_UNUSED const char *name) { -- cgit v1.2.3