<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi<div><br></div><div>On WindowsCE you should enable the FIXED_POINT flag. Floating point operations are too slow on ARM processors.</div><div><br></div><div>-- Bjoern<br><div><br><hr id="stopSpelling">From: steven.harris@essential-viewing.com<br>To: speex-dev@xiph.org<br>Date: Fri, 9 Oct 2009 10:13:05 +0100<br>Subject: [Speex-dev] Decoder performance on Windows Mobile 5<br><br>
<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxEmailStyle17
{font-family:Arial;color:windowtext;}
@page Section1
{size:841.9pt 595.3pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</style>
<div class="ecxSection1">
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hello,</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I’m trying to use the speex decoder on Windows Mobile
5. I have compiled the debug version of the lib for WM5 PPC. I am running this
test on an HTC TyTn phone.</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I’m decoding 4Kbits narrowband speex audio. Each
decode call takes a buffer of size 100 bytes.</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">The problem is that each decode call takes around 130ms to
complete. This is too slow for the audio to play back if I stream the decoded
audio to the WaveOut audio device.</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">If I run the same test on my desktop PC with the win32
compiled version of libspeex using SSE support then the decode takes less than
1ms.</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Is there anything I can do to speed up the decode on Windows
Mobile 5?</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Thanks,</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Steven</span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
</div></div></div>                                            <br /><hr /> NY Windows Live Messenger GRATIS! <a href='http://download.live.com/messenger' target='_new'>Hent den her!</a></body>
</html>