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.
This commit is contained in:
Max Kellermann
2009-07-14 23:07:41 +02:00
parent b1afa40fc1
commit 6233de0546
5 changed files with 335 additions and 1 deletions

View File

@@ -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
@@ -32,6 +33,9 @@ static const struct encoder_plugin *encoder_plugins[] = {
#endif
#ifdef ENABLE_LAME_ENCODER
&lame_encoder_plugin,
#endif
#ifdef ENABLE_TWOLAME_ENCODER
&twolame_encoder_plugin,
#endif
NULL
};