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

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Thu Sep 24 2009 - 02:41:30 EEST

On Thu, Sep 24, 2009 at 06:33:36AM +0800, Ray Rashif wrote:

> 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.

If you read the ALSA docs, in particular where they
describe how you can construct new devices on top of
existing ones, they surely give the impression that
arbitrary networks such as

hw:0 ---- dmix -------- app |---- app
                  | |
                  |---- plug ---- dmix -------- app
                  |
                  |---- oss ---- app

where 'plug' - a misnomer - is the thing that resamples
changes format etc. and oss does the same along with
providing a different API, should work.

But they don't, and it's not difficult to see that
it would be hell to make them work. IMHO, the basic
approach is wrong.

I know that oss emulation is not implemented as
suggested by this example, but even if it were
I doubt very much if it could be made to work.

Ciao,

-- 
FA
Io lo dico sempre: l'Italia è troppo stretta e lunga.
_______________________________________________
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 04:15:13 2009

This archive was generated by hypermail 2.1.8 : Thu Sep 24 2009 - 04:15:13 EEST