[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ALSA, xmms and endianness problem



Hello,

the problem which was with endianness, when I played
files other than wavs
using xmms, is solved now. They had a bug in alsa-xmms
plugin, which
was written correctly, but they forgot for some reason
to test for endian
in configure.in and define WORDS_BIGENDIAN 1 in
config.h.
Wavs are little endian, so the PCM is sent to ALSA as
little endian and
it was all right. But ogg/mp3 were decoded to native
endian (big), decided
in alsa-xmms which endian it was (using conditional
compilation), but
WORDS_BIGENDIAN wasn't defined, so the PCM was sent as
little, when in fact
it was big endian. 

So, they fixed it in alsa-xmms CVS and it functions
now. BTW, the alsa-xmms
in unstable has this bug as well, so the maintainer
should get the latest
CVS sources and recompile the package.

And alsa-player has probably the same bug, but I am
not going to do 
anything with it, since xmms functions now. :-)

Ondrej Certik


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



Reply to: