<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Ricardo,<br>
<br>
I had the same trouble. I didn't solved it, but I managed to cross
compile it from Linux with MINGW.<br>
So I think using MINGW under Windows should work.<br>
This is not the best solution, but might be enough for a preliminary
study.<br>
<br>
Best Regards,<br>
<br>
Camille<br>
<br>
Le 24/06/2010 12:31, Riccardo Micci a &eacute;crit&nbsp;:
<blockquote
 cite="mid:OF058251CF.2052E1AB-ON8025774C.00386623-8025774C.0039D3AA@camcon.co.uk"
 type="cite"><br>
  <font face="sans-serif" size="2">Hi,</font>
  <br>
  <font face="sans-serif" size="2">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.</font>
  <br>
  <font face="sans-serif" size="2">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.</font>
  <br>
  <font face="sans-serif" size="2">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.</font>
  <br>
  <font face="sans-serif" size="2">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:</font>
  <br>
  <font face="sans-serif" size="2">#define SCALEOUT(a) &nbsp; &nbsp; &nbsp;
&nbsp;((a)*(1/CELT_SIG_SCALE)) to #define SCALEOUT(a) &nbsp; &nbsp;
&nbsp; &nbsp;((a)*(1/(2*CELT_SIG_SCALE)))</font>
  <br>
  <font face="sans-serif" size="2">The result audio doesn't saturate
anymore
but it's still completely broken.</font>
  <br>
  <font face="sans-serif" size="2">My testvector is:</font>
  <br>
  <font face="sans-serif" size="2">freq: 44100</font>
  <br>
  <font face="sans-serif" size="2">channels: 1</font>
  <br>
  <font face="sans-serif" size="2">I chose: frame_size = 256 and
bytes_per_packet
= 46.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Does anybody else have this problem?
?Can someone help me finding the problem?</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Regards</font>
  <br>
  <font face="sans-serif" size="2">Riccardo<br>
  </font>
  <table>
    <tbody>
      <tr>
        <td>
        <hr noshade="noshade">
        <p><font face="Arial" size="1">Riccardo Micci<br>
Senior DSP Engineer, Wireless Group </font>
        </p>
        <p><font color="#4181c0" face="Arial" size="1"><b>Cambridge
Consultants</b></font><font face="Arial" size="1"><br>
Science Park, Milton Road <br>
Cambridge, CB4 0DW, England<br>
Switchboard: +44 (0)1223 420024<br>
Direct dial: +44 (0)1223 392402<br>
Mobile: +44 (0)<br>
Fax: +44 (0)1223 423373</font><font color="blue" face="Arial" size="1"><br>
        </font><a moz-do-not-send="true"
 href="mailto:riccardo.micci@cambridgeconsultants.com"><font
 color="#4181c0" face="Arial" size="1">riccardo.micci@cambridgeconsultants.com</font></a><font
 color="blue" face="Arial" size="1"><br>
        </font><a moz-do-not-send="true"
 href="http://www.cambridgeconsultants.com/"><font color="#4181c0"
 face="Arial" size="1">www.CambridgeConsultants.com</font></a><font
 face="Arial" size="1"><br>
&nbsp;</font></p>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <font face="sans-serif" size="3"><br>
  </font>
  <br>
  <font face="sans-serif" size="3"><br>
  </font>
  <hr><font face="Arial" size="1"><br>
  <br>
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.</font><font face="sans-serif"
 size="3"><br>
  </font>
  <br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
celt-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:celt-dev@xiph.org">celt-dev@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/celt-dev">http://lists.xiph.org/mailman/listinfo/celt-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>