kdf wrote:

Quoting Michael Peters <[EMAIL PROTECTED]>:



fc4 on x86

using the linux port of mac

squeezebox produces static.
When I remove the -x from the lame switch, it behaves.

I don't know much about ape's format - but the man page for lame says
if you get static, try adding the -x switch.

Is this an OS platform difference - cpu dependent - or is it file dependent?
If file specific, would passing the output of mac through sox for the
resample and then to lame fix it?

I'm guessing it's OS thing, but ...



-x is a byte swap performed by LAME.  The server has this in teh convert.conf as
[-x] and the server substitutes it in if needed.  Exactly what criteria the
server is using is the part I don't know.  I think Dean put that part in, so
I'd have to leave that part to him for an answer.



The $-x$ substitution parameter is the empty string on a big endian architecture and -x on a little endian architecture. It's sometimes used for transcoding tools that output different endian samples depending on the native endianness. I believe LAME expects big endian samples for raw input, so a -x is necessary if it's fed little endian samples.

If mac always returns big endian samples, the -x is not necessary. If it returns samples based on the native endianness, $-x$ should be used. I'm not familiar with mac - doesn anybody else have information?

--Vidur



_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to