From 4a0d4a02a64774c61840496c8141b89ed31d1d94 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Aug 2009 18:57:06 +0200 Subject: output/recorder: new output plugin for recording radio streams The recorder plugin writes audio played by MPD to a file. This may be useful for recording radio streams. This implementation is incomplete, because support for tags is missing, and MPD should be able to record each track to a different file. --- src/output_list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/output_list.c') diff --git a/src/output_list.c b/src/output_list.c index 81de16649..74a9be81c 100644 --- a/src/output_list.c +++ b/src/output_list.c @@ -34,6 +34,7 @@ extern const struct audio_output_plugin pulse_plugin; extern const struct audio_output_plugin mvp_output_plugin; extern const struct audio_output_plugin jackPlugin; extern const struct audio_output_plugin httpd_output_plugin; +extern const struct audio_output_plugin recorder_output_plugin; const struct audio_output_plugin *audio_output_plugins[] = { #ifdef HAVE_SHOUT @@ -72,6 +73,9 @@ const struct audio_output_plugin *audio_output_plugins[] = { #endif #ifdef ENABLE_HTTPD_OUTPUT &httpd_output_plugin, +#endif +#ifdef ENABLE_RECORDER_OUTPUT + &recorder_output_plugin, #endif NULL }; -- cgit v1.2.3