Hi,

  While ossmix displays centible values accurately, it cannot set them, e.g.

   ossmix vmix0-vol
      Value of mixer control vmix0-vol is currently set to 25.0 (dB)
   ossmix vmix0-vol 24.5
      Value of mixer control vmix0-vol set to 24

   This patch fixes that by changing sscanf to get floats, and then check for 
MIXF_CENTIBLE in all paths (not just for stereo sliders). There are some other 
issues fixed (abort when getting invalid enum, rather than setting to 0. Don't 
cap MIXT_VALUE, MIXT_HEXVALUE to max of 255). The method for MIXT_3D is 
probably wrong: ossmix used three fields, but the documentation[1] shows only 
two fields. What does the third field do?

  In addition, I've included a small change to configure script. It removes the 
restriction of only using absolute pathnames when calling configure. Relative 
paths will work just as well.

Yours,
        Yair K.

[1] http://manuals.opensound.com/developer/MIXT_3D.html

Attachment: ossmix-set-centible.diff.gz
Description: GNU Zip compressed data

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

Reply via email to