Re: [Alsa-devel] RFC: OSS driver removal, a slightly different approach

From: Takashi Iwai
Date: Fri Jan 20 2006 - 09:48:09 EST


At Fri, 20 Jan 2006 15:25:54 +0100 (MET),
Jan Engelhardt wrote:
>
> >Hi,
> >
> >On Thursday 19 January 2006 18:46, Adrian Bunk wrote:
> >> SOUND_EMU10K1
> >> - ALSA #1735 (OSS emulation 4-channel mode rear channels not working)
> >
> >If I understand alsa - oss emulation correctly, I think, this will be not
> >fixed soon (my opinion - never). This is too much work for too little gain.
>
> On that way, I'd like to inquiry something:
> I have a card that works with the snd-cs46xx module.
> With the OSS emulation (/dev/dsp), I can only output 2 channels, and the
> other two must be sent to /dev/adsp. Is this intended? Would not it be
> easier to make /dev/dsp allow receiving an ioctl setting 4 channels?

This is exactly like the case of emu10k1. The chip supports only
2-channel stereo streams. If you need a 4-channel interleaved stream,
you have to merge the data in two individual streams to a single
4-channel stream on software. Currently, this isn't handled in ALSA
kernel-space OSS emulation.


Takashi
-
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/