[Tremor] Need information of any Ogg player implementation on tremor
xiphmont at xiph.org
xiphmont at xiph.org
Sun Dec 27 22:23:39 PST 2009
On Mon, Dec 28, 2009 at 1:11 AM, Diptopal Basu <diptopal.basu at gmail.com> wrote:
> 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
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'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
More information about the Tremor
mailing list