Re: [linux-audio-dev] CDDA interface - How to convert to float? Any library?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] CDDA interface - How to convert to float? Any library?
From: Mark Rages (markrages_AT_mlug.missouri.edu)
Date: Sun Aug 11 2002 - 05:00:49 EEST


On Sat, Aug 10, 2002 at 06:32:55PM -0700, Martin Wolters wrote:

> short input = (short)(in[1]|(in[0] << 8));
> // ?? didn't test this configuration.
> // Don't know if byte order of CD data is changed
> // on different patforms.

I would assume that the byte order is not changed. That would be
perverse, to always return data in the wrong endianness for the
host platform!

Regards,
Mark


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Aug 11 2002 - 05:05:09 EEST