> [EMAIL PROTECTED] kirjoitti:
> > Hi all,
> >
> > maybe you remember that I'm currently trying to add OSSv4 support 
> > to kmix. 
> > Most sliders already work as expected, dcop is currently 
> > misbehaving, but I'm 
> > quite sure to be able to solve the issues. To my question now:
> > Old versions of kmix used OSS v 3.x macros to map mixer extension 
> > names (e.g. 
> > line0) to types (e.g. "Volume, Microphon" etc.). In the 
> > documentation of 
> > OSSv4 I read that mixer applications using the new mixer API 
> > shouldn't make 
> > any assumptions about the extension names. So how could I properly 
> > classify 
> > the mixer extensions?
> >   
> I hope this helps.
> 

Hi there, just for reference I'll point you to the OSSv4 mixer support 
for the OpenSound media node for BeOS and Haiku that I wrote. It's not 
finished, but as it mostly work, just in case:

the get/set calls
http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/media/media-add-ons/opensound/OpenSoundNode.cpp#L1290

this method builds a tree of BParameter objects that is used to 
represent the mixer:
http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/media/media-add-ons/opensound/OpenSoundNode.cpp#L1669

The end result looks as on this screenshot with the IXP audio in my 
laptop:
http://revolf.free.fr/beos/shot_haiku_oss_working.003.png

François.

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to