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:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user