Programmatically set Audio driver?

Michael's icon

Is there a (perhaps undocumented) way to set the Audio Driver using the adstatus object?

Now, with the advent of hot-swapping audio devices in Max 6, it seems that I have to go to the audio status window every time I need to make that switch.

Mike

Sean's icon

Hi Mike,

i use something like this - and can control it directly without having to open the audio status window.
Hope that helps,

Max Patch
Copy patch and select New From Clipboard in Max.

Seán

Michael's icon

Yup, this'll do it. Thanks Seán.

jazzisfaction's icon

hey sean...i used to have a patcher similar to yours. but i even can't change the menu items anymore. i checked your patcher and the same problem: i wanted to change from 'none' to 'core audio' but the umenu stays in 'none', the max window just saying: 'adstatus doesn't understand "update"...did u ever have the same problem?