aboutsummaryrefslogtreecommitdiff
path: root/src/encoder_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-14 23:07:41 +0200
committerMax Kellermann <max@duempel.org>2009-07-14 23:07:41 +0200
commit6233de05464c11b714cbfcb2692ff22691b1475a (patch)
tree074d6e00f9b85e0c7d840044ea8198b0aead2666 /src/encoder_list.c
parentb1afa40fc12088818a01c810d8cf6617a3afe627 (diff)
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoder_list.c b/src/encoder_list.c
index d563b6bc..2016d4cb 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
};