Quote:
Originally Posted by fundorin
Yep. Works too. I was confused, at first, because requesting volume or pan states for non-existing tracks wasn't leading to crash.
|
Don't expect that the Reaper API functions are that consistent. Many of them do null pointer/invalid object checks for you, but some won't, so it's best to also do at least null pointer checks yourself too. (Unless you know the API tolerates passing in null pointers or other invalid values.)