diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-01-15 14:49:54 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-01-15 14:49:54 +0000 |
commit | f8b12e6f3c5cdf3eee5368ef71a85c0e0ae05ecb (patch) | |
tree | 4d739a99b62d2c335ccf39d87027f6dd7f74f95a /orkaudio/OrkAudio.cpp | |
parent | 66a503098b38b2ee2c6f58cf8b3548ef003ea99b (diff) |
Modified the G722 decoder such that it is not compiled as a separate Orkaudio plugin but is linked to orkbase. In addition, modified the G722 decoder to meet the same coding style as the other codecs (Ilbc and Gsm). This has so far been tested on Linux.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@594 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/OrkAudio.cpp')
-rw-r--r-- | orkaudio/OrkAudio.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/orkaudio/OrkAudio.cpp b/orkaudio/OrkAudio.cpp index 12531ff..be0dead 100644 --- a/orkaudio/OrkAudio.cpp +++ b/orkaudio/OrkAudio.cpp @@ -41,13 +41,11 @@ #include "Filter.h" #include "GsmFilters.h" #include "IlbcFilters.h" +#include "G722Codec.h" #include "filters/audiogain/AudioGain.h" #include "TapeProcessor.h" #include <list> #include "EventStreaming.h" -#ifdef WIN32 -#include "G722Codec.h" -#endif static volatile bool serviceStop = false; @@ -156,10 +154,8 @@ void Transcode(CStdString &file) FilterRegistry::instance()->RegisterFilter(filter); filter.reset(new AudioGainFilter()); FilterRegistry::instance()->RegisterFilter(filter); -#ifdef WIN32 - filter.reset(new G722Decoder()); + filter.reset(new G722ToPcmFilter()); FilterRegistry::instance()->RegisterFilter(filter); -#endif // Register in-built tape processors and build the processing chain BatchProcessing::Initialize(); @@ -245,10 +241,8 @@ void MainThread() FilterRegistry::instance()->RegisterFilter(filter); filter.reset(new AudioGainFilter()); FilterRegistry::instance()->RegisterFilter(filter); -#ifdef WIN32 - filter.reset(new G722Decoder()); + filter.reset(new G722ToPcmFilter()); FilterRegistry::instance()->RegisterFilter(filter); -#endif // Register in-built tape processors and build the processing chain BatchProcessing::Initialize(); |