Re: esound for PPC
From: Tom Rini <hidden>
Date: 1999-10-12 03:20:26
On Mon, 11 Oct 1999, Eric Dorland wrote:
On Mon, Oct 11, 1999 at 01:09:12PM -0700, Tom Rini wrote:quoted
On Mon, 11 Oct 1999, Eric Dorland wrote:quoted
It appears I spoke to soon about sound working perfectly. Whenever esd plays a 16bit wav file, the sound plays at about half speed. Ugg. At least its not static anymore. I'm going to see if I can track down why this is happening (maybe its some on-the-fly endianess swaping slowing it down), but I don't know sound code all that well, so anyone that does, please lend a hand.Elliot has the old set of patches ported up to 0.2.15, and hopefully will be in 0.2.16 :)Which old set of patches? I've tried Elliot's 0.2.15 and it doesn't fix the playing of 16bit sounds. BTW, you need a patch to be able to compile Elliot's 0.2.15. It seems the configure file assumes that a ppc linux is MkLinux, and uses its driver instead of OSS. It appears its MkLinux that has the little-endian sound driver, not linuxppc. Anyway the attached patch changes removes the MkLinux testing (I don't know how to tell the difference), and just uses OSS.
The patches which exist in a copy of 0.2.14, hence any working esound. They did not make it into 0.2.15, but will hopefully be in 0.2.16. It does tell from MkL & Linux/PPC, and it also makes everything work "ok" again. --- Tom Rini (TR1265) http://gate.crashing.org/~trini/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/