switching to NonRealTime driver automatically

Jun 18, 2009 at 5:32am

switching to NonRealTime driver automatically

Hi,

I’m currently trying to build a patch that switches from a manually pre-selected real time driver (Built-in CoreAudio for instance) into the NRT driver when a certain condition is met. Then, when that condition is no longer true, it switches back again. I can’t however work out a straightforward way of doing this.

This is mainly due to the fact that adstatus uses a numeric index to select drivers, and this changes depending on the audio hardware Max detects. One idea I had was to let adstatus populate a menu/ubumenu with all available drivers, then query the menu in order to extract the number of items it contains. Is this possible?

It seems as though there should be an easy solution but I’m at my wits end with this one. Any suggestions would be fantastic.

#44423
Jun 18, 2009 at 9:17am

i think randy jones render node does this:

http://2uptech.com/render_node.html

oli

#159774
Jun 18, 2009 at 10:31pm

Yeah, render-node does exactly that! Thanks Oli!

#159775

You must be logged in to reply to this topic.