Multiple sounds

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Aug 22 03:32:49 PDT 2006


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.
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.
could you show me a short snippet how this could be done?  i know the 
driver can find a free vchan, that's no problem, but it also needs to 
return a different device than the one which was actually opened.  this 
was where i got stuck.

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   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20060822/f2f0d9cf/attachment-0021.obj>


More information about the Users mailing list