dmasound audio patch

Bill Fink billfink at mindspring.com
Tue Apr 9 05:23:50 EST 2002


On Sat, 15 Jul 2034, Benjamin Herrenschmidt wrote:

Hi Ben,

Gee you're a very futuristic kind of guy (see timestamp above).  :-)

> Hi Bill, thanks for the patch, though I decided long ago I agree with linus
> and that swapping shouldn't take place in the kernel. If we go that way, we
> make sure userland apps will never be fixed ;)

I halfway understand the reasoning but I don't really agree with it.
I don't see any significant problem with doing the byte swapping in
the kernel.  From an engineering standpoint, it seems to make more
sense to me to do this common function once in the kernel driver rather
than redoing it over and over in every audio app, and keep getting bit
by the same endianness problem over and over again.  Linus and the PC
world don't have to worry about it, but us PPC types keep getting a
delay in usable audio apps as a result.

Oh well, I know I'm tilting at windmills here.  :-)

						-Bill

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list