wave_encoder: new encoder for streaming PCM wave files.

When using wave encoder with httpd audio output mpd can input this stream via http and audiofile decoder.
This for example opens simple way to configure lossless audio streaming port(like jack or pulseaudio does but without overhead).
Another possibility can be using it for gathering raw data for visualization plugins (If sync issue will be resolved)
This commit is contained in:
Viliam Mateicka
2009-11-10 22:29:54 +00:00
parent 1a4025420c
commit 79035d7ed9
4 changed files with 268 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ extern const struct encoder_plugin null_encoder_plugin;
extern const struct encoder_plugin vorbis_encoder_plugin;
extern const struct encoder_plugin lame_encoder_plugin;
extern const struct encoder_plugin twolame_encoder_plugin;
extern const struct encoder_plugin wave_encoder_plugin;
static const struct encoder_plugin *encoder_plugins[] = {
&null_encoder_plugin,
@@ -38,6 +39,9 @@ static const struct encoder_plugin *encoder_plugins[] = {
#endif
#ifdef ENABLE_TWOLAME_ENCODER
&twolame_encoder_plugin,
#endif
#ifdef ENABLE_WAVE_ENCODER
&wave_encoder_plugin,
#endif
NULL
};