View Single Post
Old 01-31-2018, 11:16 AM   #311
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554

Originally Posted by nofish View Post
^^ Regarding the exception, wouldn't you need to check if tr isn't a null pointer there (if project / bank contains less than eight tracks).

Ok, your last code should work nevertheless if at least one track in project I think.
Sorry, didn't saw your message, so I've solved it myself. 🤠 Anyway, you're right.
I've discovered that loading a project with lots of tracks didn't crash Reaper, during debug, while loading an empty project was a no-no.
So, all is working fine for now.
The next step is to display pan/vol levels, instead of VU, when encoders/faders are touched.
I've already did that in oscii-bot and in С++ is a bit harder to achieve.
Thank you, nofish.
fundorin is offline   Reply With Quote