Re: Alsa plays only wav files

2002-09-18 Thread Ole-Egil Hvitmyren
On Tue, 17 Sep 2002, Ondrej Certik wrote: --- 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

Re: Alsa plays only wav files

2002-09-17 Thread Michel Dänzer
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

Re: Alsa plays only wav files

2002-09-17 Thread Ondrej Certik
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.

Re: Alsa plays only wav files

2002-09-17 Thread Ondrej Certik
--- 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

Re: Alsa plays only wav files

2002-09-17 Thread Michel Dänzer
On Die, 2002-09-17 at 17:47, Ondrej Certik wrote: --- 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

Re: Alsa plays only wav files

2002-09-17 Thread Geert Uytterhoeven
On Tue, 17 Sep 2002, Ondrej Certik wrote: --- 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

Re: Alsa plays only wav files

2002-09-17 Thread Michel Dänzer
On Die, 2002-09-17 at 17:33, Ondrej Certik wrote: 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

Re: Alsa plays only wav files

2002-09-17 Thread Michael Furr
On Tue, 2002-09-17 at 11:47, Ondrej Certik wrote: BTW, why was ppc designed as big engian? Just to be incompatible? If all the world was little endian, it would be much easier. Actually, all of the world _is_ big endian. One of the only exceptions to this is the x86. Except for this and a

Re: Alsa plays only wav files

2002-09-17 Thread Menaka Lashitha Bandara
On Wed, 2002-09-18 at 01:47, Ondrej Certik wrote: BTW, why was ppc designed as big engian? Just to be incompatible? No. Networking is Big Endian. And the PPC was designed to be both. There's an instruction in the CPU that'll switch it over to little. If all the world was little endian, it

Re: Alsa plays only wav files

2002-09-16 Thread Ondrej Certik
--- Michel Dänzer [EMAIL PROTECTED] wrote: On Son, 2002-09-15 at 21:18, Ondrej Certik wrote: I have installed latest CVS ALSA drivers on my PowerMac 7500/100 (snd-powermac), and aplay functions well, but xmms plays only wav files - using other input plugin (mp3, ogg) causes loud

Re: Alsa plays only wav files

2002-09-16 Thread Michel Dänzer
On Mon, 2002-09-16 at 12:56, Ondrej Certik wrote: --- Michel Dänzer [EMAIL PROTECTED] wrote: On Son, 2002-09-15 at 21:18, Ondrej Certik wrote: I have installed latest CVS ALSA drivers on my PowerMac 7500/100 (snd-powermac), and aplay functions well, but xmms plays only wav

Re: Alsa plays only wav files

2002-09-16 Thread Ondrej Certik
--- Michel Dänzer [EMAIL PROTECTED] wrote: On Mon, 2002-09-16 at 12:56, Ondrej Certik wrote: --- Michel Dänzer [EMAIL PROTECTED] wrote: On Son, 2002-09-15 at 21:18, Ondrej Certik wrote: I have installed latest CVS ALSA drivers on my PowerMac 7500/100 (snd-powermac), and

Re: Alsa plays only wav files

2002-09-16 Thread Michel Dänzer
On Mon, 2002-09-16 at 15:57, Ondrej Certik wrote: when starting xmms, it stops with an error: snd_mixer_attach: No such file or directory. Remove alsa-xmms, it prevents xmms from starting without ALSA. Which solves the problem. Thanks. But I have no idea how you could dicover

Re: Alsa plays only wav files

2002-09-16 Thread Toby Sargeant
On Mon, Sep 16, 2002 at 08:21:28PM +0200, Michel D?nzer wrote: That's correct. The problem is probably a mismatch between what xmms (or its plugins) _thinks_ the endianness of the PCM data they send to the device is (and thus tells the device) and what it _actually_ is. E.g., this works with

Re: Alsa plays only wav files

2002-09-16 Thread Chris Tillman
On Tue, Sep 17, 2002 at 09:56:30AM +1000, Toby Sargeant wrote: On Mon, Sep 16, 2002 at 08:21:28PM +0200, Michel D?nzer wrote: That's correct. The problem is probably a mismatch between what xmms (or its plugins) _thinks_ the endianness of the PCM data they send to the device is (and thus

Alsa plays only wav files

2002-09-15 Thread Ondrej Certik
Hello, I have installed latest CVS ALSA drivers on my PowerMac 7500/100 (snd-powermac), and aplay functions well, but xmms plays only wav files - using other input plugin (mp3, ogg) causes loud random noise. But these plugins are probably ok, because when I use Disk Writer plugin play some

Re: Alsa plays only wav files

2002-09-15 Thread Michel Dänzer
On Son, 2002-09-15 at 21:18, Ondrej Certik wrote: I have installed latest CVS ALSA drivers on my PowerMac 7500/100 (snd-powermac), and aplay functions well, but xmms plays only wav files - using other input plugin (mp3, ogg) causes loud random noise. But these plugins are probably ok,