Re: [2.6 patch] schedule obsolete OSS drivers for removal

Tomasz Torcz
2006-01-03T16:05:02Z

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

On Tue, Jan 03, 2006 at 03:22:06PM +0000, Alistair John Strachan wrote:
> On Tuesday 03 January 2006 14:50, Jan Engelhardt wrote:
> > >The problem with using OSS compatibility, at least on this machine with
> > > ALSA 1.0.9, is that if you use it you automatically lose the software
> > > mixing capabilities of ALSA, so it really is less than ideal.
> >
> > Well, I am able to open /dev/dsp multiple times here without problems.
> > (Is /dev/dsp soft- or hardmixing?)
>
> As far as I'm aware, it depends on your hardware. For example, software mixing
> kicks in with zero configuration on most hardware that won't mix in hardware,
> e.g. my laptop's i810 audio.
>
> [alistair] 15:18 [~] cat /proc/asound/cards
> 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
> Intel 82801DB-ICH4 with AD1981B at 0xa0100000, irq 11
> 1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
> Intel 82801DB-ICH4 Modem at 0x3400, irq 11
>
> I can successfully hear two mixed sources when I execute the following:
>
> ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.ogg
>
> And on another terminal
>
> ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.og
>
> This is ALSA soft mixing the two sources for me. Very nifty. However, if I
> throw an OSS into the mix (whilst these other two are playing).
>
> [alistair] 15:20 [~/Music/Led Zeppelin - I] ogg123 -q --device=oss 01\ -\
> Good\ Times\ Bad\ Times.ogg
> Error: Cannot open device oss.

Proper way (using userspace OSS emulation):
aoss ogg123 -q --device=oss [...]

--
Tomasz Torcz "Funeral in the morning, IDE hacking
zdzichu@irc.-nie.spam-.pl in the afternoon and evening." - Alan Cox

[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]