aboutsummaryrefslogtreecommitdiffstats
path: root/src/EncoderList.cxx
diff options
context:
space:
mode:
authorAndrée Ekroth <andree.ekroth@gmail.com>2014-01-12 21:40:29 +0100
committerMax Kellermann <max@duempel.org>2014-01-13 11:14:19 +0100
commitea771c17c55395b34d8ee3f8073a89d401c85835 (patch)
tree3ee0dc6192b403baa7a1a4a03d7bc8b72221a60b /src/EncoderList.cxx
parent65ebfb16c90f7c0921983009775b1a2414371d94 (diff)
downloadmpd-ea771c17c55395b34d8ee3f8073a89d401c85835.tar.gz
mpd-ea771c17c55395b34d8ee3f8073a89d401c85835.tar.xz
mpd-ea771c17c55395b34d8ee3f8073a89d401c85835.zip
Shine encoding plugin
This encoding plugin features a fixed-point mp3 encoder, with faster encoding on architectures without a FPU. Right now the encoder is limited to stereo and 16 bit depth. The bitrate and sample rate can be modified in audio_output. audio_output { type "httpd" name "My shine stream" encoder "shine" port "8000" format "44100:16:2" bitrate "320" # default: 128 }
Diffstat (limited to 'src/EncoderList.cxx')
-rw-r--r--src/EncoderList.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/EncoderList.cxx b/src/EncoderList.cxx
index 7760a9582..22b83ffa1 100644
--- a/src/EncoderList.cxx
+++ b/src/EncoderList.cxx
@@ -25,6 +25,7 @@
#include "encoder/VorbisEncoderPlugin.hxx"
#include "encoder/OpusEncoderPlugin.hxx"
#include "encoder/FlacEncoderPlugin.hxx"
+#include "encoder/ShineEncoderPlugin.hxx"
#include "encoder/LameEncoderPlugin.hxx"
#include "encoder/TwolameEncoderPlugin.hxx"
@@ -50,6 +51,9 @@ const EncoderPlugin *const encoder_plugins[] = {
#ifdef ENABLE_FLAC_ENCODER
&flac_encoder_plugin,
#endif
+#ifdef ENABLE_SHINE_ENCODER
+ &shine_encoder_plugin,
+#endif
nullptr
};