<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=343242520-05062007><FONT face=Arial color=#0000ff size=2>It is
a good idea not to use sample rates other than 44100 or 48000 Hz for your
final audio I/O. The chipset people just do not give a crap about rates
other than that. They don't see a problem with giving you 11100 Hz when
you ask for 11025, for instance, even though that's a huge problem for
VoIP.</FONT></SPAN></DIV>
<DIV><SPAN class=343242520-05062007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343242520-05062007><FONT face=Arial color=#0000ff
size=2>Ultimately you need to be prepared to resample to one of the de-facto
'standard' rates if timing is important.</FONT></SPAN></DIV>
<DIV><SPAN class=343242520-05062007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343242520-05062007><FONT face=Arial color=#0000ff size=2>--
john</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> speex-dev-bounces@xiph.org
[mailto:speex-dev-bounces@xiph.org]<B>On Behalf Of </B>marzullo
maio<BR><B>Sent:</B> Tuesday, June 05, 2007 10:06 AM<BR><B>To:</B>
speex-dev@xiph.org<BR><B>Subject:</B> [Speex-dev] Output sampling rate
slightly increased. Will speexcomplain?<BR><BR></FONT></DIV>I noticed my
latency is gradually increasing in my audio loopback test application. I just
hear what i say, encoding and decoding on the fly.<BR>I suppose 8000 Hz for
the output device is not 8000 Hz for the input one, they differs since they
could refer to different time generators (i suppose...).<BR><BR>To solve the
problem i rised the output sampling rate from 8000 to 8200 Hz, and now i'm not
accumulating latency anymore. The quality remains practically the same. The
input sampling rate is still 8000 Hz. That's it, i just need a faster consumer
(audio output) than producer (audio input).<BR><BR>Actually i'm telling the
encoder/decoder i'm sampling at 8000 Hz either for input and output. Should i
tell speex i'm using this trick?<BR><BR>Please give me some suggestions,
should the speex be involved in some way?<BR>I'm not experiencing any
noticeable difference through except the latency which is now
constant.<BR><BR>Could be another solution to the latency rising
issue?<BR><BR>Thanks.<BR>
<P><FONT face=Arial color=#0000ff size=2></FONT></P></BLOCKQUOTE></BODY></HTML>