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/run_output.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/run_output.c') diff --git a/test/run_output.c b/test/run_output.c index 5ab9625e8..3731b6c09 100644 --- a/test/run_output.c +++ b/test/run_output.c @@ -24,6 +24,7 @@ #include "audio_parser.h" #include "filter_registry.h" #include "pcm_convert.h" +#include "event_pipe.h" #include @@ -31,6 +32,11 @@ #include #include +void +event_pipe_emit(G_GNUC_UNUSED enum pipe_event event) +{ +} + void pcm_convert_init(G_GNUC_UNUSED struct pcm_convert_state *state) { } -- cgit v1.2.3