[Tremor] Need information of any Ogg player implementation on tremor

Nicholas Vinen hb at x256.org
Sun Dec 27 22:25:53 PST 2009


Most likely something like

<decoder program> | aplay -f S16_LE -c 2 -r 44100

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's been a long time since I dealt with the 
example decoder so I can't remember the exact format it outputs.


Nicholas


xiphmont at xiph.org wrote:
> 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
> _______________________________________________
> Tremor mailing list
> Tremor at xiph.org
> http://lists.xiph.org/mailman/listinfo/tremor
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/tremor/attachments/20091228/6db47972/attachment.htm 


More information about the Tremor mailing list