I've seen auto-detect of byte-order in some utility recently. it was likely
one of the following: cdda, cd_paranoia, sox - can't remember just off the
top of my head, but does anyone else recall seeing it recently ? code's all
available for the above...
-G
On 31-Oct-98 Michael Cheng wrote:
>hi all
> andreas had a thought that you could auto-detect byte-order in a
>given input file. Any suggestions on how to implement this in a 100%
>effective and easy way? (Otherwise people will just have to recognize
>where they need to use the new -x switch)
>
> check to see if the timing code works ok for you. it's ifdef'd by
>TIMER at the moment, but it'll be put in proper when i get some feedback.
>
> stdin reading may be my next challenge. This may involve a bit of
>a cleanup on the file-reading routines. they're getting a bit messy.
>
>later
>mike
>
----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 01-Nov-98
Time: 11:28:398
"And where were you at 00:00:00 GMT, January 1, 1970?"
--
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein
----------------------------------