Yair K. wrote: > On Tuesday 10 June 2008 22:41:46 Hannu Savolainen wrote: > >> No changes to any of the drivers are required. The update_counter >> handling is done automatically by the mixer core. >> > > I didn't look at the code, but I wonder if a MIXT_GROUP control inside a > MIXT_GROUP increases update_counter. > In that case, if we have this: GROUP1->GROUP2, than GROUP2 won't be shown but > GROUP1 will. Do we care about this scenario? > This problem is eliminated. Update counter for GROUP1 will be zero after GROUP2 is added. When a control is added to GROUP1 then update counters of GROUP1, GROUP2, ..., DEVROOT will be incremented. So the update_counter field of any group will tell how many "real" controls there are under the group and all of its child groups (not counting any of the group nodes).
Apparently there are some problems with handling of the parent chain. The algorithm seems to think that the chain is broken so it aborts before reaching DEVROOT. Best regards, Hannu _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel