Note: I am a feed provider aiming for maximum uptime, however I'm not always in town and able to monitor/maintain my copy of DSD+.
Currently, the selected audio output for VC.bat is specified numerically (the argument "-o1" is used for audio device #1, "-o2" for device #2, etc). My PC that is running DSD+ is also connected to a TV via an HDMI cable, as it is also used as an htpc. This results in Windows changing the numeric assignment of audio output devices, depending on whether or not the TV is powered on.
With the TV powered on, the devices get numbered as follows:
1-HDMI Audio
2-Speakers
3-Headphones
4-VB Virtual Audio Cable.
With the TV off, Windows detects that the HDMI Audio output device has been "disconnected" and the audio output devices get re-numbered as follows:
1-Speakers
2-Headphones
3-VB Virtual Audio Cable
My issue is that I want to reliably route the audio output to the VB Virtual Audio Cable ALL the time. Starting VC.bat with the TV powered on or off will make/break whether the audio gets routed correctly, as sometimes that device will be numbered 3 or 4 depending on the power state of the TV.
Question: Is there some other way (or can there be) to specify the desired audio output device by name rather than numeric order? I saw that a recent update provided similar functionality when selecting which RTL-SDR dongle you want to use (you can now select by string ID instead of device number, and can even custom edit the string ID for each RTL-SDR dongle that you have).
Basically I want my desired audio configuration to work regardless of whether or not the TV is on/off when DSD+ starts. The reason for this is that sometimes I reboot the computer while at home with the TV on, and other times, perhaps during a power failure and perhaps I'm not at home, the PC is set up to automatically turn back on when power is restored, and restart DSD+ upon boot in order to resume streaming the feed, however the TV would be off in this case.
Currently, the selected audio output for VC.bat is specified numerically (the argument "-o1" is used for audio device #1, "-o2" for device #2, etc). My PC that is running DSD+ is also connected to a TV via an HDMI cable, as it is also used as an htpc. This results in Windows changing the numeric assignment of audio output devices, depending on whether or not the TV is powered on.
With the TV powered on, the devices get numbered as follows:
1-HDMI Audio
2-Speakers
3-Headphones
4-VB Virtual Audio Cable.
With the TV off, Windows detects that the HDMI Audio output device has been "disconnected" and the audio output devices get re-numbered as follows:
1-Speakers
2-Headphones
3-VB Virtual Audio Cable
My issue is that I want to reliably route the audio output to the VB Virtual Audio Cable ALL the time. Starting VC.bat with the TV powered on or off will make/break whether the audio gets routed correctly, as sometimes that device will be numbered 3 or 4 depending on the power state of the TV.
Question: Is there some other way (or can there be) to specify the desired audio output device by name rather than numeric order? I saw that a recent update provided similar functionality when selecting which RTL-SDR dongle you want to use (you can now select by string ID instead of device number, and can even custom edit the string ID for each RTL-SDR dongle that you have).
Basically I want my desired audio configuration to work regardless of whether or not the TV is on/off when DSD+ starts. The reason for this is that sometimes I reboot the computer while at home with the TV on, and other times, perhaps during a power failure and perhaps I'm not at home, the PC is set up to automatically turn back on when power is restored, and restart DSD+ upon boot in order to resume streaming the feed, however the TV would be off in this case.