[CELT-dev] Getting CELT to work under Windows

Camille Gonnet camille.gonnet at free.fr
Thu Jun 24 09:53:22 PDT 2010


Hi Ricardo,

I had the same trouble. I didn't solved it, but I managed to cross 
compile it from Linux with MINGW.
So I think using MINGW under Windows should work.
This is not the best solution, but might be enough for a preliminary study.

Best Regards,

Camille

Le 24/06/2010 12:31, Riccardo Micci a écrit :
>
> Hi,
> My name is Riccardo Micci i downloaded the CELT source code and I 
> compiled it under Windows. This is meant to be a preliminary study for 
> my company's project.
> When i run CELT it encodes and decodes the file back saying "Encoder 
> matches decoder!!". When i try to play the output though the result is 
> just noise and clicks.
> The only changes I've applied are some #defines to avoid compiler 
> error (for example my Visual C doesn't support "restrict"...) and 
> automatic loading and saving input and output files.
> Looking at the decoded file with Matlab, i can see the most of the 
> time the result is saturated. Even worse when i use FIXED_POINT 
> define. I also tried to avoid saturation changing the following line 
> in arch.h:
> #define SCALEOUT(a)        ((a)*(1/CELT_SIG_SCALE)) to #define 
> SCALEOUT(a)        ((a)*(1/(2*CELT_SIG_SCALE)))
> The result audio doesn't saturate anymore but it's still completely 
> broken.
> My testvector is:
> freq: 44100
> channels: 1
> I chose: frame_size = 256 and bytes_per_packet = 46.
>
> Does anybody else have this problem? ?Can someone help me finding the 
> problem?
>
> Regards
> Riccardo
> ------------------------------------------------------------------------
>
> Riccardo Micci
> Senior DSP Engineer, Wireless Group
>
> *Cambridge Consultants*
> Science Park, Milton Road
> Cambridge, CB4 0DW, England
> Switchboard: +44 (0)1223 420024
> Direct dial: +44 (0)1223 392402
> Mobile: +44 (0)
> Fax: +44 (0)1223 423373
> riccardo.micci at cambridgeconsultants.com 
> <mailto:riccardo.micci at cambridgeconsultants.com>
> www.CambridgeConsultants.com <http://www.cambridgeconsultants.com/>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> This email is from Cambridge Consultants Limited, Science Park, Milton 
> Road, Cambridge CB4 0DW with registered number 1036298 England. It may 
> contain confidential information. It is intended for the addressee 
> only and may not be copied or disclosed to any third party without our 
> permission. If you are not the intended recipient please contact the 
> sender as soon as possible and delete the material from any computer. 
> If this email has been sent as a personal message to the addressee, 
> the sender is not acting in his/her capacity as an employee or officer 
> of Cambridge Consultants Limited and no liability is accepted for the 
> content of any such email. Outgoing email may be monitored for the 
> purpose of ensuring compliance with our email policy and relevant laws.
>
>
>
> _______________________________________________
> celt-dev mailing list
> celt-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/celt-dev
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20100624/e294f7fd/attachment-0002.htm 


More information about the celt-dev mailing list