Hi Nicholas ,<br><br> That was helpful , I would try it out as required for my versatile ARM 926EJS Application baseboard . <br><br>WIll get back to you in case I had any questions .<br><br>Regards<br>Diptopal<br><br><div class="gmail_quote">
On Mon, Dec 28, 2009 at 11:55 AM, Nicholas Vinen <span dir="ltr">&lt;<a href="mailto:hb@x256.org">hb@x256.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
<br>
Most likely something like<br>
<br>
&lt;decoder program&gt; | aplay -f S16_LE -c 2 -r 44100<br>
<br>
will do the job if you have an ALSA output device and alsa-utils (i.e.
aplay). Depending on how the decoder deals with endianism you may need
to use the S16_BE format. It&#39;s been a long time since I dealt with the
example decoder so I can&#39;t remember the exact format it outputs.<br>
<br>
<br>
Nicholas<br>
<br>
<br>
<a href="mailto:xiphmont@xiph.org" target="_blank">xiphmont@xiph.org</a> wrote:
<blockquote type="cite"><div><div></div><div class="h5">
  <pre>On Mon, Dec 28, 2009 at 1:11 AM, Diptopal Basu <a href="mailto:diptopal.basu@gmail.com" target="_blank">&lt;diptopal.basu@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre>Sure Monty , will keep that in mind . So I am assuming ,if I could get the
raw PCM and channel it directly to the PCM I will get noise . However if I
converted the accumulated PCM output to WAV , I could hear the file properly
    </pre>
  </blockquote>
  </div></div><pre>The reason you hear noise is that raw PCM can be any sample format,
and the sample format the PCM device is set to is not matching the
data you&#39;re sending to it.  The default sample format expected by a
Linux PCM device depends on which kernel API you are using as well as
details of the specific kernel build (that is, there is no reliable
default).

Command line players are able to set the specific sample format
parameters for playback (otherwise they could not function) and most
will expose these controls via command line switches.

Monty
_______________________________________________
Tremor mailing list
<a href="mailto:Tremor@xiph.org" target="_blank">Tremor@xiph.org</a>
<a href="http://lists.xiph.org/mailman/listinfo/tremor" target="_blank">http://lists.xiph.org/mailman/listinfo/tremor</a>
  </pre>
</blockquote>
<br>
</div>

</blockquote></div><br>