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



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@xxxxxxxxxxxxxxxxx in the afternoon and evening." - Alan Cox

Attachment:pgpytF0MmGfY1.pgp
Description: PGP signature



Relevant Pages

  • Re: Is it time for remove (crap) ALSA from kernel tree ?
    ... mixing by default for some time now so we're talking history anyway. ... I've been following this discussion with some interest, to learn more about ALSA. ... This would seem to indicate that your alsaplayer is setup to output to OSS and not to ALSA... ... It does so in two different ways in fact -- the first one is a direct kernel space emulation where ALSA interprets accesses to those device nodes it then manages much like real OSS would do. ...
    (Linux-Kernel)
  • Re: [OT] ALSA userspace API complexity
    ... >>> All abstraction are NOW coded but some parts of this abstraction are on ... Can you do this with ALSA way? ... > Soft mixing is performed by writing to allocated shared memory block. ... _everything_ in the kernel (which OSS requires). ...
    (Linux-Kernel)
  • OSS driver removal, 2nd round
    ... Now that I've sent the first round of actually removing the code for OSS ... Removing OSS drivers where ALSA drivers for the same hardware exists has ...
    (Linux-Kernel)
  • Re: [2.6 patch] schedule obsolete OSS drivers for removal
    ... it depends on your hardware. ... According to alsamixer info, it has 31 playback and 1 record channel. ... Looks like I'm in favor of hardware mixing. ... you have not lost anything using the OSS emulation. ...
    (Linux-Kernel)
  • Re: esound clobbers OSS?
    ... I rarely use OSS programs, and when I did try to use one recently I found ... programs seem to have sound, but I can only run one OSS program at a time. ... I don't recall having this problem with OSS programs before, ... concluded, maybe incorrectly, that esound had been mixing OSS program sound. ...
    (Debian-User)

Loading