Audio output device changes when monitor sleeps, can't change back
Summary
When the audio output device is disabled (such as the HDMI cable for my monitor which is routed through my amp going into sleep mode) alchemy will go use a different sound device and it can be difficult to get it back on the one you wanted.
Note: Drake mentioned adding a audio source selector to alchemy which would alleviate this.
Steps to reproduce
- Have more then one audio output device on your computer.
- Run alchemy, verify there is sound.
- Disable your primary sound device.
- Enable your primary sound device.
- Check if there is sound on alchemy.
What is the current bug behavior?
There will be no sound from alchemy at this point. I've managed to force sound back on the proper device by disabling every input device, but it messes some other stuff I got going up because they are using VAC.
What is the expected correct behavior?
Alchemy stays on the current audio device and continues to produce noise. I can run VLC on a constant stream at the same time and if I disable sound, it just hops to the currently primary audio device and back. So I know other programs handle this sort of hiccup smoothly.
Environment
Alchemy Test 6.4.18.46175 (64bit)
Release Notes
You are at 33.6, 189.8, 1,509.7 in Puff located at simhost-0c1bcdea46d71ac0e.agni
SLURL: http://maps.secondlife.com/secondlife/Puff/34/190/1510
(global coordinates 183,586.0, 305,086.0, 1,509.7)
Second Life Server 2021-04-21.558586
Release Notes
CPU: AMD Ryzen 9 3900X 12-Core Processor (3792.87 MHz)
Memory: 32683 MB
OS Version: Microsoft Windows 10 64-bit (Build 19042.928)
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: AMD Radeon RX 6800 XT
Windows Graphics Driver Version: 27.20.15003.5017
OpenGL Version: 4.6.148202 Compatibility Profile Context 21.3.2 27.20.15003.5017
Window size: 2560x1346
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 384m
Bandwidth: 3000kbit/s
LOD factor: 1.125
Render quality: 5
Advanced Lighting Model: Enabled
Texture memory: 3072MB
Texture cache: 4294MB / 8344MB (51.5% used)
Disk cache: 5769MB / 10240MB (56.3% used)
RestrainedLove API: RLV v3.4.3 / RLVa v2.4.0.46175
libcurl Version: libcurl/7.54.1 OpenSSL/1.0.2u zlib/1.2.11.zlib-ng WinIDN nghttp2/1.43.0
J2C Decoder Version: OpenJPEG Runtime: 2.4.0
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.21.0 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.7.0.202104081416
CEF: 89.0.6+g6f30454+chromium-89.0.4389.72
Chromium: 89.0.4389.72
LibVLC Version: 3.0.11
Voice Server Version: Vivox 4.10.0000.32327
Compiler Version: MSVC 192829913
Packets Lost: 0/12,766 (0.0%)
May 08 2021 08:40:18
Relevant logs and/or screenshots
(Attach or paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)