Hi Alexey
I had a further email from Mark and I did further tests which are both summarised below:
From Mark:
From what I can tell, MIX_PARAM_SEND_OUTPUT isn't using the cache but MIX_PARAM_OUTPUT is.
The way the cache works is that it checks to see if the string exists in the cache, then returns it if it exists. Otherwise it goes through the normal lookup procedure and adds it to the cache.
When you change topology, or perform a host of other operations (such as renaming a bus), the cache is simply cleared.
The behaviour your describing would suggest the cache isn't being cleared. So I guess the question is, how are you renaming your bus?
I've tested double clicking the name and using F2 on both the bus header strip in the tracks view, and also the console view. I've also used the track properties pane in the inspector.
All of them result in the cache being cleared, and the new name being returned.
My tests and response to Mark:
If I rename a bus from the console view, then AZ Controller does not get the updated track output name, so MIX_PARAM_OUTPUT is not refreshing.
If I rename a bus from the track view using the track inspector, track properties, then AZ Controller does not get the updated track output name, so MIX_PARAM_OUTPUT is not refreshing.
However, if I rename a bus from the track view, using the bus panel, then AZ Controller does correctly update the track output name so MIX_PARAM_OUTPUT is being refreshed.
In all three methods of renaming the bus, MIX_PARAM_SEND_OUTPUT is always refreshed with the new bus name.
I have tested this a number of times and the above is 100% consistent.
I hope this helps points towards the issue. I'll also forward your observations below and my response above to Alexey.
Alexey
There is clearly a bug in that one of the three ways of renaming a bus is correctly triggering the refresh of MIX_PARAM_OUTPUT but the other two methods are not.
If you can repeat my tests, that would be helpful. Let me know if you want me to make a short video.
Hopefully this will help Mark diagnose the issue.
If you have any further comments on any of the above, please let me know and I will forward to Mark.
Regards
Robert