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: Simon corecode Schubert <corecode@xxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 13:29:24 +0200

+++ Joerg Sonnenberger [22/08/06 15:23 +0200]:
> On Tue, Aug 22, 2006 at 12:27:38PM +0200, Simon 'corecode' Schubert wrote:
> > On 21.08.2006, at 15:14, Joerg Sonnenberger wrote:
> > >>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.
> Check for lwp_dupfd.

uhm, yes.  but this is marked as XXX UGLY everywhere, and i have to agree
that it *is* ugly.  we should streamline this a little bit i think.  How
about passing the device as a pointer so it can be modified by dev_open, or
passing the fd to be able to change the details and some service routines?

cheers
  simon

-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



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