[ previous ] [ next ] [ threads ]
 To :  Paul Chitescu <paulc@v...>
 From :  Nik Pakar <nikpakar@g...>
 Subject :  Re: [yate] G.729 codec for Yate based on Intel IPP
 Date :  Sun, 5 Jul 2009 19:31:13 +0530
Hi Paul,

I did change the g729codec.cpp as per the new gsmcodec.cpp (version update
highlights) and it compiled fine and works for a single call.

Do you think it may be not good for production in that way ?

Rgds
Nik.

On Sat, Jul 4, 2009 at 7:15 PM, Paul Chitescu  wrote:

> Hi, Nik!
>
> This change in Yate is relevant:
>
> http://yate.null.ro/archive/?action=show_msg&actionargs[]=44&actionargs[]=55
>
> http://yate.null.ro/websvn/revision.php?repname=yate&path=%2Ftrunk%2F&rev=2745
>
> Fixing the code should be trivial, this should be a good example for a
> codec:
>
> http://yate.null.ro/websvn/diff.php?repname=yate&path=%2Ftrunk%2Fmodules%2Fgsmcodec.cpp&rev=2745
>
> Paul
>
>
> On Saturday 04 July 2009 15:53:58 Nik Pakar wrote:
> > Hi Arkadi,
> > Im getting an g729 compilation error with the latest Yate SVN 2746.
> >
> > Can you please help us to fix it. Below is the error. Thanks in advance.
> >
> > Rgds
> > Nik.
> >
> > [root@local yate-g729]# ./build.sh
> > g729codec.cpp: In member function ‘virtual TelEngine::DataTranslator*
> > G729Plugin::create(const TelEngine::DataFormat&, const
> > TelEngine::DataFormat&)’:
> > g729codec.cpp:195: error: cannot allocate an object of abstract type
> > ‘G729Codec’
> > g729codec.cpp:67: note:   because the following virtual functions are
> pure
> > within ‘G729Codec’:
> > /test/yate/yatephone.h:409: note: virtual long unsigned int
> > TelEngine::DataConsumer::Consume(const TelEngine::DataBlock&, long
> unsigned
> > int, long unsigned int)
> > [...]
>



Hi Paul,

I did change the g729codec.cpp as per the new gsmcodec.cpp (version update highlights) and it compiled fine and works for a single call.

Do you think it may be not good for production in that way ?

Rgds
Nik.

On Sat, Jul 4, 2009 at 7:15 PM, Paul Chitescu <paulc@v...> wrote:
Hi, Nik!

This change in Yate is relevant:
http://yate.null.ro/archive/?action=show_msg&actionargs[]=44&actionargs[]=55
http://yate.null.ro/websvn/revision.php?repname=yate&path=%2Ftrunk%2F&rev=2745

Fixing the code should be trivial, this should be a good example for a codec:
http://yate.null.ro/websvn/diff.php?repname=yate&path=%2Ftrunk%2Fmodules%2Fgsmcodec.cpp&rev=2745

Paul


On Saturday 04 July 2009 15:53:58 Nik Pakar wrote:
> Hi Arkadi,
> Im getting an g729 compilation error with the latest Yate SVN 2746.
>
> Can you please help us to fix it. Below is the error. Thanks in advance.
>
> Rgds
> Nik.
>
> [root@local yate-g729]# ./build.sh
> g729codec.cpp: In member function ‘virtual TelEngine::DataTranslator*
> G729Plugin::create(const TelEngine::DataFormat&, const
> TelEngine::DataFormat&)’:
> g729codec.cpp:195: error: cannot allocate an object of abstract type
> ‘G729Codec’
> g729codec.cpp:67: note:   because the following virtual functions are pure
> within ‘G729Codec’:
> /test/yate/yatephone.h:409: note: virtual long unsigned int
> TelEngine::DataConsumer::Consume(const TelEngine::DataBlock&, long unsigned
> int, long unsigned int)
> [...]