(It appears the list didn't recieved my last e-mail, so I'm sending it again).

On Sunday 03 February 2008 14:48:45 Yair K. wrote:
> On Sunday 03 February 2008 14:06:11 you wrote:
> > Slightly off topic, why does vmix0-vol mono-slider not get updated in
> > ossxmix when its value gets changed as a result of an external event?
> > Is it because widgets that have their parent equal to zero get handled
> > differently to other widgets? If so is there a good reason for this as
> > it also appears to effect the width of gtkvu widgets?
>
> That's very odd! Only vmix0-vol seems to be affected thus... I don't know
> right now... I guess the value isn't being polled for some reason.
>

Found it. do_update misses a case for MIXT_MONOSLIDER16 in the switch 
statement. Once it's added below MIXT_MONOSLIDER it works fine.

 Yours,
        Yair K.


--- cmd/ossxmix/ossxmix.c	2008-02-03 15:11:58.630700201 +0200
+++ cmd/ossxmix/ossxmix.c	2008-02-03 15:12:16.957904271 +0200
@@ -1554,6 +1554,7 @@
       break;
 
     case MIXT_MONOSLIDER:
+    case MIXT_MONOSLIDER16:
       mx = srec->mixext->maxvalue;
       val = mx - (val & mask);
       gtk_adjustment_set_value (GTK_ADJUSTMENT (srec->left), val);
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to