You are right, that the problem is endiannes, because I wanted to know what is going on, so I switched back to ALSA and modified the Alsa output plugin for xmms, so that it swaps the endiannes of the data, which goes through it and ---- the ogg/mp3 now plays very well, but wav causes the noise.
So there is only one question: which code should I modify to swap the endiannes? Probably the input plugin for ogg/mp3? Or both input plugin for wav and alsa output plugin? Or even alsa driver? Everything should work. I don't exactly understand which fault it is. If I understand it well, than Alsa expects input in native endiannes. So on ppc, the alsa-xmms plugin must send the output in big-endian. So the change has to be in ogg plugin. But I don't know which endiannes xmms expect its data. So maybe changing ogg plugin isn't the solution. What do you suggest? Ondra --- Michel Dänzer <[EMAIL PROTECTED]> wrote: > On Die, 2002-09-17 at 03:35, Chris Tillman wrote: > > > > <dumbquestion> > > Why don't they just put a header on the sample > that indicates its endianness? > > IIRC that's how tiff works. > > </dumbquestion> > > I think endianness is defined with most if not all > audio formats; that > doesn't prevent apps from thinking all the world is > little endian. :/ > > > -- > Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux > (powerpc) developer > XFree86 and DRI project member / CS student, Free > Software enthusiast > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com