Re: [2.6 patch] VIDEO_SAA7134_ALSA shouldn't select SND_PCM_OSS

From: Adrian Bunk
Date: Mon Jan 09 2006 - 23:32:37 EST


On Mon, Jan 09, 2006 at 11:14:05PM -0500, Lee Revell wrote:
> On Tue, 2006-01-10 at 05:06 +0100, Adrian Bunk wrote:
> > There's no reason for an ALSA driver to select an OSS legacy userspace
> > interface.
>
> Actually there is a reason. While OSS may be deprecated the OSS API is
> not - ALSA is committed to supporting it for the forseeable future. And
> as broken an interface as it is, a lot of people consider the sound
> system broken if you can't just write() to /dev/dsp and have sound come
> out.

No disagreement, but that's not the point.

SND_PCM_OSS gives an OSS API interface for userspace on top of ALSA.
ALSA drivers shouldn't care whether they are controlled directly
through ALSA or through a legacy OSS API on top of ALSA.

If someone wants to use SND_PCM_OSS that is fine, but the ALSA interface
to my saa7134 card is working fine, so why does it force me to compile a
legacy OSS API interface into the kernel?

> Lee

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/