Re: [Musicpd-dev-team] Fwd: null_encoder: optionally add pcm wave header

2009-11-10 Thread Max Kellermann
On 2009/11/10 22:36, Metyl Methylius wrote: > I've got it ! I've worked on big endian platform for about 3 years and never > realized there is such > a no difference from register point of view :) :) Looks good now, let's hope it really works on BE as I expect it. It's merged. -

[Musicpd-dev-team] Fwd: null_encoder: optionally add pcm wave header

2009-11-10 Thread Metyl Methylius
I've got it ! I've worked on big endian platform for about 3 years and never realized there is such a no difference from register point of view :) metyl -- Forwarded message -- From: Metyl Methylius Date: Tue, Nov 10, 2009 at 9:15 PM Subject: Fwd: [Musicpd-dev-team] null_encoder

[Musicpd-dev-team] Fwd: null_encoder: optionally add pcm wave header

2009-11-10 Thread Metyl Methylius
So you telling me that the code for both cases is the same ? cited from wiki: "Big-endian: The most significant byte (MSB) value, is stored at the memory location with the lowest address". Thats ((value) & 0xFF;) This value is set to zero an therefor is not used in expression. Next the LSB is stor