[oss-devel] Further info needed to complete OSSv4 support in kmix
François Revol
revol at free.fr
Sun Mar 9 23:27:50 EET 2008
> apriori at dkc-clan.de 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.
More information about the oss-devel
mailing list