Hi, Most mixers contain "rec" buttons which let the user select recording source. Some mixers let multiple recording sources be selected.
A. When setting the on/off value with SNDCTL_MIX_WRITE on a rec button, val.value is always returned as 1. Shouldn't it be 0 or 1 according to whether the source is selected? B. ossmix uses val.value = -1 to toggle the value of the button. But http://manuals.opensound.com/developer/MIXT_ONOFF.html says only 0 or 1 are accepted values. I guess the doc is incomplete? (Why am I asking this? There's a bug in ossxmix where if only one rec source is enabled and the user unselects it, the button become unchecked, but the source is still selected. I tried to check what value SNDCTL_MIX_WRITE returned in set_value, and discovered A. above) Yours, Yair K. _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel