Re: [LAU] Play ALSA and OSS emulation simultaneously on same soudcard, is it posible?

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Thu Sep 24 2009 - 10:55:49 EEST

Ismael Valladolid Torres wrote:
> I am running the attached .asoundrc. Works lovely for dmixing multiple
> ALSA applications using the same soundcard.
>
> What I am not being able to do is adding an OSS application to the
> equation.
>
> As OSS is not in fact OSS but an OSS emulation that uses ALSA, I
> though that the same rules applied to a demixed ALSA application would
> apply to an OSS application.

ALSA plugins are implemented in userspace, while the OSS interface is
a kernel driver interface and therefore is implemented in the kernel.

To get sound card sharing with application that use the OSS interface,
you can:
- use a sound card with hardware mixing (VIA AC'97 controllers,
  Sound Blaser Live, and some other obsolete chips); or
- use a wrapper that tries to redirect OSS interface calls to a
  userspace emulator (aoss, but it doesn't always work); or
- use a kernel driver that redirects OSS calls to userspace (requires
  kernel 2.6.31 and OSSP, which currently works only with PulseAudio
  and not dmix).

Best regards,
Clemens
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Thu Sep 24 12:15:06 2009

This archive was generated by hypermail 2.1.8 : Thu Sep 24 2009 - 12:15:07 EEST