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
}
This commit is contained in:
Andrée Ekroth
2014-01-12 21:40:29 +01:00
committed by Max Kellermann
parent 65ebfb16c9
commit ea771c17c5
7 changed files with 343 additions and 0 deletions

View File

@@ -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"
@@ -49,6 +50,9 @@ const EncoderPlugin *const encoder_plugins[] = {
#endif
#ifdef ENABLE_FLAC_ENCODER
&flac_encoder_plugin,
#endif
#ifdef ENABLE_SHINE_ENCODER
&shine_encoder_plugin,
#endif
nullptr
};