Re: Is it time for remove (crap) ALSA from kernel tree ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Olivier Galibert <galibert@...>, Takashi Iwai <tiwai@...>, Tomasz K?oczko <kloczek@...>, Alan Cox <alan@...>, <linux-kernel@...>
Date: Thursday, June 28, 2007 - 6:24 pm

On 28 Jun 2007, Adrian Bunk outgrape:

Indeed. This is why I haven't moaned much (or at all): aoss is ugly,
sure, but you only need it for those rare apps which run for a long time
or while other sounds are playing, on non-mixing-capable hardware, for
which the in-kernel emulation won't suit... and most non-sound-
specialist apps are using esd, arts or pulseaudio anyway, so that does
the mixing for you (and pulseaudio also does it for every ALSA app if
the pulseaudio plugin is installed). And the sound-specialist apps
are the ones that actually *benefit* from ALSA's ludicrous degree of
low-levelness, so they're using it, or something even more flexible
like JACK.

I use quite a lot of sound apps, and I can count the number of times
I've had to use aoss in the last year on the fingers of one hand.


But still it's conceptually ugly. Doing stuff in userspace, yes: but the
kernel should be calling *back* to userspace to do it, not depending on
things being done in the client's address space by a client library for
proper function. (See also others' rants regarding the nasty
quasi-unstable nature of the ALSA ioctl() kernel interface...)

Isn't this sort of big user-to-and-from-kernelspace data-transfer job
what we have relayfs for? (Or is it unidirectional?)


The problem is that the user has to *know* to run `aoss'. The in-kernel
OSS emulation is actually nicer than thr userspace one because it works
automatically without the user having to do a damned thing. If only it
(and ALSA as a whole) called out to userspace again to mix, we could
presumably ditch aoss, and the user would never need to care which API
the author chose to use. (There are still complexities involving reading
the user's .asoundrc to consider, but most users don't use that so
wouldn't need aoss for anything anymore.)

And then all these damn silly ALSA/OSS flamewars could go away.


I think it would lead to *more* problems. The in-kernel emulation
*almost* Just Works, and surely the ideal we should aim for is an
emulation that Just Works.

-- 
`... in the sense that dragons logically follow evolution so they would
 be able to wield metal.' --- Kenneth Eng's colourless green ideas sleep
 furiously
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Sun Jun 24, 1:51 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Thu Jul 5, 8:59 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Lennart Sorensen, (Mon Jun 25, 10:44 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 11:48 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Lennart Sorensen, (Mon Jun 25, 1:13 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Hannu Savolainen, (Mon Jun 25, 5:18 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Wakko Warner, (Tue Jun 26, 12:25 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Takashi Iwai, (Tue Jun 26, 12:52 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 7:50 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Bartlomiej Zolnierkiewicz..., (Mon Jun 25, 9:04 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Carlo Florendo, (Mon Jun 25, 2:22 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Sun Jun 24, 3:24 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Carlo Florendo, (Mon Jun 25, 2:24 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 5:51 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 7:36 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Renato S. Yamane, (Mon Jun 25, 9:21 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 10:02 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 9:41 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Gabor Gombas, (Mon Jun 25, 10:05 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 1:00 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 8:44 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Florian Schmidt, (Fri Jun 29, 7:52 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 10:56 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 11:55 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 12:14 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Florian Schmidt, (Sun Jul 1, 7:46 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Sun Jul 1, 8:17 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Nix, (Thu Jun 28, 6:24 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 9:20 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Mon Jun 25, 8:40 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 8:47 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Nobin Mathew, (Sun Jun 24, 11:41 pm)
Handling xruns in OSS (was re:whatever), Hannu Savolainen, (Mon Jun 25, 4:09 pm)
Re: Handling xruns in OSS (was re:whatever), Takashi Iwai, (Tue Jun 26, 5:18 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Sun Jun 24, 6:43 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Sun Jun 24, 3:27 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 6:06 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Hannu Savolainen, (Mon Jun 25, 4:32 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Mon Jun 25, 6:46 am)