You are here
Home › Forum home › VirtualMIDISynth › Bug reports › [SOLVED] VirtualMIDISynth 2.0.1 ignores change of default output device ›[SOLVED] VirtualMIDISynth 2.0.1 ignores change of default output device
Please let our ADS show!
This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:
- disable your AdBlocker by adding CoolSoft website to whitelist
- give the proper cookie consent
- enable JavaScript for this website
This seconds wait is to let you update your browser configuration...
Ok, I've done the required changes... now show me your content!- virtual
- Posts: 8
- Joined: August 20, 2017 - 18:22
- coolsoft
- Posts: 1978
- Joined: March 25, 2012 - 01:19
The output device configuration is read at VMS start; if you configure
The only exception is when user changes VMS configured output device (through the Options tab): in this case VMS is reinitialized and the new device is used.
This is a good suggestion but I honestly don't know how much work is needed to implement auto-detection.
It will involve registering to some system-wide event, need to investigate a bit.
As a side note, I'm working on a new feature that will allow to configure a different output device for each virtual MIDI device.
This way you could set VMS#1 to use AudioDevice#X and VMS#2 to use AudioDevice#Y.
This could complicate things a little...
- falcosoft
- Posts: 129
- Joined: September 25, 2013 - 16:38
Hi,
If you want to follow the default output device using Bass there is an option for it:
BASS_SetConfig(BASS_CONFIG_DEV_DEFAULT, 1) ;
Documentation:
http://www.un4seen.com/doc/#bass/BASS_CONFIG_DEV_DEFAULT.html
But be aware that the latest official bulid of Bass has a bug related to this option, so you need the latest (beta) build of bass to avoid it:
http://www.un4seen.com/forum/?topic=17767.msg124732#msg124732
Best Regards
Falco
- coolsoft
- Posts: 1978
- Joined: March 25, 2012 - 01:19
@falcosoft: thank you very much for your suggestion.
BASS is moving so fast that is really difficult for me to keep updated...
Anyway, a quick read of BASS documentation shown something I'm worried about:
"When the "Default" device is used, the BASS_SetVolume and BASS_GetVolume functions work a bit differently to usual; they deal with the "session" volume, which only affects the current process's output on the device, rather than the device's volume."
Need to check it out, but it seeems way easier than implementing device change detection from scratch.
- coolsoft
- Posts: 1978
- Joined: March 25, 2012 - 01:19
Feature added to version 2.3.0.
Closing thread...
Navigation
Login
Support me
Click here if you want to support CoolSoft using PayPal