I have a patch I'd like to use in M4L or in Max. I'd like to know if it is used in m4l or in max, as there are different demands from each scenario on the patch. My solution is pasted below, but, for whatever weird scheduling quirks, it doesn't work, since the last "b" out out of the "t b b 1" actually arrives *before the 0 that is triggered from live.path. It only seems to do this in the context of being used in Live - I can test it while editing the device, and the gate closes in time.
So are there other ways to detect if you are in M4L or not?? something like the ";max getruntime" message?