<!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 bgcolor="#ffffff" text="#000066">
Phil Harman wrote:
<blockquote cite="mid:6D43F2B5E8C94F968BF5EEAAA272A46E@phil" type="cite">
  <meta content="text/html; charset=iso-8859-1"
 http-equiv="Content-Type">
  <meta name="GENERATOR" content="MSHTML 8.00.6001.18812">
  <style></style>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><font
 size="-1"><font face="Tahoma">
    <div><big>2) If 1) is true, how should I behave when e.g. the 
input data have a sampling frequency of 96 kHz ? Should I send<br>
    an output frame every two input frames, or should I send the output
frames at the same rates of the input ones,<br>
    repeating the data if need be ?</big></div>
    <big> </big>
    <div><big> </big></div>
    <big> </big>
    <div><big><font color="#000000" face="Arial" size="2">Always send
the data at 48kHz, just discard data at higher rates. </font><br>
    </big></div>
    </font></font></blockquote>
</blockquote>
Hi Phil,<br>
<br>
<br>
  thanks for the answer.<br>
<br>
Just to check whether I am getting it right.... suppose I set Mercury
for a final downsampling frequency of 192 kHz.<br>
For this my initial test I don't need the input data, I use the input
stream just as a clock.<br>
Does this mean that I count 4 input frames, and I send one output frame
every 4 of them ? This seems to me the<br>
only way to obtain the needed 48 kHz, as if the data which I want to
playback are coming from a WAV file, they do not have an implicit <br>
arrival rate. Of course they were originally sampled at 48 kHz, but the
rate at which I can read a WAV file is of course much<br>
higher, so I need a way to pace my sending.<br>
<br>
Thanks for your patience<br>
<br>
73  Alberto  I2PHD<br>
<br>
</body>
</html>

 1248956820.0