def update_rates(self): # loop through all module connections # check output rate and adjust rates of modules that are connected # change "white" cables to proper color (red, blue, yellow, orange) for area in [ self.pch2.patch.voice, self.pch2.patch.fx ]: handle_uprate(area) for net in area.netlist.nets: if net.output == None: continue self.update_inputs(net, net.output.module.uprate)
def douprate(self, g2area): self.log.info('uprate:') handle_uprate(g2area)