DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Multiple sounds


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 21 Aug 2006 15:14:34 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Mon, Aug 21, 2006 at 02:26:48PM +0200, Simon 'corecode' Schubert wrote:
> On 21.08.2006, at 11:50, Dmitri Nikulin wrote:
> >On 8/21/06, Petr Janda <elekktretterr@xxxxxxxxxxxxxx> wrote:
> >>You were correct.
> >>Is there any way to get this done automatically? Without manually
> >>changing all multimedia programs that make sound?
> >No, so FreeBSD 5+ 'solved' it as part of devfs, making the free
> >channels appear on demand. It's possible with other hacks beneath the
> >kernel surface but the less of those the better.
> 
> Well, I investigated doing this at some point, but it seemed quite 
> impossible at this time.  We'd have to change the device handling, so 
> that a driver can hand out private devices for an open and not have 
> just one device per major/minor.

Actually, no. It just should threat minor==0 or whatever special and
replace the in-kernel file with an entry for the first free minor. That
is possible already, through the mechanism for cloning in the tree
sucks.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]