On Wed June 24 2009 00:32:05 Hannu Savolainen wrote:
> Hi Pavol,
>
> It looks like there is some problem in the driver. I will take a look in
> the (near) future.

Maybe it would be possible to expose the hardware mixing as engines on the 
first node? That would allow multiple clients regardless of vmix. IIRC, all 
that's required is setting the ADEV_SHADOW flag?

 Now, It might be a hassle to reconfigure programs to use /dev/dsp again for 
users used to the multiple nodes, but if ADEV_SHADOW is changed to also expose 
the engines as separate nodes while still placing the multiple engines on the 
first node, reconfiguring won't be neccesary. This small patch (untested) 
should do it:

diff -r 3c3a7a31e156 kernel/framework/audio/oss_audio_core.c
--- a/kernel/framework/audio/oss_audio_core.c   Tue Jun 16 12:21:27 2009 +0300
+++ b/kernel/framework/audio/oss_audio_core.c   Thu Jun 25 19:00:46 2009 +0300
@@ -6275,7 +6277,7 @@
     master_osdev = osdev;
 
 #ifdef VDEV_SUPPORT
-  if (flags & (ADEV_SHADOW | ADEV_HIDDEN))
+  if (flags & ADEV_HIDDEN)
     hidden_device = 1;
 #else
   flags &= ~ADEV_HIDDEN;



Yours,
        Yair K.
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to