Runtime: Setting the default device
Hello,
I try to set the default device of Max Runtime that is used upon start. It worked for a very long time, until the Focusrite Scarlett device was removed once from the PC.
Now, Max Runtime is always using the wrong audio device upon startup.
I was given the hint to set it manually via the prefdrivername setting in the audioprefs.txt
This is working for a audiodriver named ad_mme, but not for drivers with whitespaces like "ad_asio Focusrite USB ASIO"
Is this the right way to do this? If yes - what's the correct driver name?
ad_asio "Focusrite USB ASIO"
Hello and thanks, but that didn't work, either.

I think I figured it out now. "prefsubname" is doing the job.
This is working:
max v2;
dsp prefdrivername ad_asio;
dsp prefsubname "Focusrite USB ASIO";
you should rather loadbang message
;
dsp setdriver ad_asio "Focusrite USB ASIO"
in case that it is named exactly so.
that works even if one switched to different driver in Max at some point
and preferences got modified