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

Ray Rashif schivmeister at gmail.com
Wed Sep 23 18:33:36 EDT 2009


2009/9/23 Ismael Valladolid Torres <ivalladt at gmail.com>

> I am running the attached .asoundrc. Works lovely for dmixing multiple
> ALSA applications using the same soundcard. I'm having Firefox showing
> a YouTube clip via Flash player, Audacious playing an audio file,
> another video clip via mplayer, etc. All simultaneously no matter
> which sample rate or frequency each one is using, as plug is also
> being used.
>
> What I am not being able to do is adding an OSS application to the
> equation. If i.e. I start Audacious using ALSA, then mplayer using OSS
> can't be heard. Also if I start Audacious using OSS, then mplayer
> using ALSA can't be heard either. If I set both of them so they use
> OSS, only the first one run obviously can be heard. If I set both so
> they use ALSA both of them can be heard simultaneously in a flawless
> way.
>
> 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. But is seems this is not the case.
>
> Am I doing something wrong? Is it even posible making ALSA and OSS
> applications share a soundcard output simultaneously? Any ideas
> welcome, so thanks in advance.
>
> Cordially, Ismael
> --
> Ismael Valladolid Torres      Hey there! ivalladt is using Twitter.
>  <ivalladt at gmail.com>        http://twitter.com/ivalladt
>
> t. 0034912519850              Facebook: http://profile.to/ivalladt
> m. 0034609884094 (Yoigo)                http://groups.to/lamediahostia
>
> Google Talk/Jabber/MSN Messenger: ivalladt at gmail.com
>      Jaiku/Twitter/Skype/Yahoo!: ivalladt
>                         AIM/ICQ: 264472328     GnuPG key: DE721AF4
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>
>
Unfortunately, no. OSS is greedy, and thus needs to grab the device. It has
vmix as something like dmix, but that only works in an OSS-only environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20090924/c34ac4f0/attachment.htm 


More information about the Linux-audio-user mailing list