First of all, thank you Vincent for activating my forum account

I am trying to make a macro button to switch outputs between my speakers and headphones.
For my speakers are using KS, and for my headphones I'm using ASIO.
Switching to speakers using KS works, but whenever I try to switch to my headphones (ASIO) the input is not selected.
I know that the name has to be the exact same as voicemeeter.
So I have exported the settings of Voicemeeter, to see the name of the ASIO device. Copy and pasted it, but it still doesn't seem to work.
This works (speakers KS)
Code: Select all
Bus(0).Device.ks = "SpdifOut";
Code: Select all
Bus(0).Device.asio = "{750C12EB-73A6-4E86-8C27-F4321A2C9880}";
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<VBAudioVoicemeeterSettings>
<VoiceMeeterDeviceConfiguration>
<OptionDev mme='512' wdm='512' ks='512' asio='288' srasio='1' msA1='0' msA2='0' msA3='0' msA4='0' msA5='0' />
<ExternalFXsend send1ch1='0' send1ch2='0' send2ch1='0' send2ch2='0' />
<ExternalFXreturn ret1ch1='0' ret1ch2='0' ret2ch1='0' ret2ch2='0' />
<InputDev index='1' type='4' name="Microphone (AT2020USB+)" />
<InputDev index='2' type='4' name="CABLE-A Output (VB-Audio Cable A)" />
<InputDev index='3' type='4' name="CABLE-B Output (VB-Audio Cable B)" />
<InputDev index='4' type='4' name="CABLE-C Output (VB-Audio Cable C)" />
<InputDev index='5' type='4' name="CABLE-D Output (VB-Audio Cable D)" />
<OutputDev index='1' type='256' name="{750C12EB-73A6-4E86-8C27-F4321A2C9880}" patch1='0' patch2='0' patch3='0' patch4='0' patch5='0' patch6='0' patch7='0' patch8='0' patch9='0' patch10='0' />
<OutputDev index='2' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='3' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='4' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='5' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<MIDIDevIn index='1' name="nanoKONTROL2" />
<MIDIDevIn index='2' name="-" />
<MIDIDevOut index='1' name="-" />
</VoiceMeeterDeviceConfiguration>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<VBAudioVoicemeeterSettings>
<VoiceMeeterDeviceConfiguration>
<OptionDev mme='512' wdm='512' ks='512' asio='288' srasio='1' msA1='0' msA2='0' msA3='0' msA4='0' msA5='0' />
<ExternalFXsend send1ch1='0' send1ch2='0' send2ch1='0' send2ch2='0' />
<ExternalFXreturn ret1ch1='0' ret1ch2='0' ret2ch1='0' ret2ch2='0' />
<InputDev index='1' type='4' name="Microphone (AT2020USB+)" />
<InputDev index='2' type='4' name="CABLE-A Output (VB-Audio Cable A)" />
<InputDev index='3' type='4' name="CABLE-B Output (VB-Audio Cable B)" />
<InputDev index='4' type='4' name="CABLE-C Output (VB-Audio Cable C)" />
<InputDev index='5' type='4' name="CABLE-D Output (VB-Audio Cable D)" />
<OutputDev index='1' type='8' name="SpdifOut" />
<OutputDev index='2' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='3' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='4' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<OutputDev index='5' name="-" pOut1='0' pOut2='0' pOut3='0' pOut4='0' pOut5='0' pOut6='0' pOut7='0' pOut8='0' />
<MIDIDevIn index='1' name="nanoKONTROL2" />
<MIDIDevIn index='2' name="-" />
<MIDIDevOut index='1' name="-" />
</VoiceMeeterDeviceConfiguration>
Thank you for your help!
Michael