aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorEric Wollesen <encoded@xmtp.net>2008-09-12 16:05:23 +0200
committerMax Kellermann <max@duempel.org>2008-09-12 16:05:23 +0200
commit5f8eebd122ebf49bfcb6b6d6c6063bb1a932e7ff (patch)
tree1df236e54479adf35b0729b27c3fd87dce7b143c /src/audioOutputs/audioOutput_shout.c
parent4970c42c8675ff6a992f159dc97837d3c0e2d35e (diff)
downloadmpd-5f8eebd122ebf49bfcb6b6d6c6063bb1a932e7ff.tar.gz
mpd-5f8eebd122ebf49bfcb6b6d6c6063bb1a932e7ff.tar.xz
mpd-5f8eebd122ebf49bfcb6b6d6c6063bb1a932e7ff.zip
shout: added mp3 encoder
[mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3 audio outputs". The original commit message follows, although it is outdated:] Creation of shout_mp3 audio output plugin. Basically I just copied the existing shout plugin and replaced ogg with lame. Uses lame for mp3 encoding. Next step is to pull common functionality out of each shout plugin and share it between them. Configuration options for "shout_mp3" are the same as for "shout".
Diffstat (limited to 'src/audioOutputs/audioOutput_shout.c')
-rw-r--r--src/audioOutputs/audioOutput_shout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 1e60e3546..82a68fa9f 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -113,6 +113,7 @@ static void free_shout_data(struct shout_data *sd)
static void load_shout_plugins(void)
{
init_shout_encoder_plugins();
+ load_shout_encoder_plugin(&shout_mp3_encoder);
load_shout_encoder_plugin(&shout_ogg_encoder);
}