Is there any "easy way" to toggle the NonRealTime driver on/off?
I have a patcher that does something! -Done
I want to render an audio file in NonRealTime. -Done. (If the NonRealDriver is selected by hand)
I want the audio driver to reset back to the previously selected "real time" driver when finished, like nothing ever happened! (Preferably with a bang!)
What I have already done:
When the audio driver menu is populated (from the [adstatus driver]), I check where the "NonRealTime" symbol is, and store the index.
Then I use the index to switch between the NonRealTime and the last "real time" audio driver, but it seems to be quite susceptible to crashes.
Any suggestions or tips, or is there any Max-native way to do this?