diff options
author | Max Kellermann <max@duempel.org> | 2009-07-14 23:07:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-14 23:07:41 +0200 |
commit | 6233de05464c11b714cbfcb2692ff22691b1475a (patch) | |
tree | 074d6e00f9b85e0c7d840044ea8198b0aead2666 /src/encoder_list.c | |
parent | b1afa40fc12088818a01c810d8cf6617a3afe627 (diff) | |
download | mpd-6233de05464c11b714cbfcb2692ff22691b1475a.tar.gz mpd-6233de05464c11b714cbfcb2692ff22691b1475a.tar.xz mpd-6233de05464c11b714cbfcb2692ff22691b1475a.zip |
encoder/twolame: new encoder plugin based on libtwolame
This encoder plugin is a replacement for the LAME encoder plugin for
those who prefer a "free" (non-patent encumbered) encoder library.
Most of the plugin source code is copied from the LAME encoder plugin,
since the LAME and TwoLAME APIs are nearly the same.
Diffstat (limited to 'src/encoder_list.c')
-rw-r--r-- | src/encoder_list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoder_list.c b/src/encoder_list.c index d563b6bc8..2016d4cba 100644 --- a/src/encoder_list.c +++ b/src/encoder_list.c @@ -25,6 +25,7 @@ extern const struct encoder_plugin vorbis_encoder_plugin; extern const struct encoder_plugin lame_encoder_plugin; +extern const struct encoder_plugin twolame_encoder_plugin; static const struct encoder_plugin *encoder_plugins[] = { #ifdef ENABLE_VORBIS_ENCODER @@ -33,6 +34,9 @@ static const struct encoder_plugin *encoder_plugins[] = { #ifdef ENABLE_LAME_ENCODER &lame_encoder_plugin, #endif +#ifdef ENABLE_TWOLAME_ENCODER + &twolame_encoder_plugin, +#endif NULL }; |