diff options
author | Max Kellermann <max@duempel.org> | 2009-08-24 18:57:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-08-24 18:57:06 +0200 |
commit | 4a0d4a02a64774c61840496c8141b89ed31d1d94 (patch) | |
tree | aeb8928d8d7653f4b0e81a53d71ff4d8edb0d6ca /src/output_list.c | |
parent | 4231ec51c319ee43e06e9ab291696d8f1a546564 (diff) | |
download | mpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.tar.gz mpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.tar.xz mpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.zip |
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.
Diffstat (limited to 'src/output_list.c')
-rw-r--r-- | src/output_list.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -73,6 +74,9 @@ const struct audio_output_plugin *audio_output_plugins[] = { #ifdef ENABLE_HTTPD_OUTPUT &httpd_output_plugin, #endif +#ifdef ENABLE_RECORDER_OUTPUT + &recorder_output_plugin, +#endif NULL }; |