View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005158 | The Dark Mod | Sound System | public | 17.02.2020 12:50 | 07.10.2022 16:28 |
Reporter | Bikerdude | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | PC | OS | Windows | OS Version | 8.1 & 10 (21H2) |
Product Version | TDM 2.10 | ||||
Summary | 0005158: TDM dosent dynamically detect default sound device | ||||
Description | in this instance I alternate between sound card output and my bluetooth headphones, the issue is TDM will only output sound to the device listed as windows system default upon startup. If I then change the default sound device to my bluetooth headphones from the sound card, TDM will not dynamically detect the change. Most contemporary games I play will dynamically detect the change of sound device. | ||||
Tags | No tags attached. | ||||
A little investigation here. It seems that GLFW does not have any audio device detection but SDL does ( I think SDL was voted against due to bloat ? ) Without SDL, we would need to have "WM_DEVICECHANGE" detection in Windows and use "Udev" device detection in Linux. ( Not sure about Mac ? ) |
|
Hmm... The github repo for GLFW has an include for dbt.h ( the library that registers WM_DEVICECHANGE ) and even included DBT_ events. I guess we currently don't use that part of GLFW but maybe we could add it? https://github.com/glfw/glfw/blob/3a60992a418aad88717db32353bec22e8bb7dab3/src/win32_platform.h https://github.com/glfw/glfw/blob/d299d9f78857e921b66bdab42c7ea27fe2e31810/src/win32_init.c |
|
Date Modified | Username | Field | Change |
---|---|---|---|
17.02.2020 12:50 | Bikerdude | New Issue | |
08.03.2020 12:24 | Bikerdude | Description Updated | |
06.08.2022 10:37 | Bikerdude | Product Version | TDM 2.07 => TDM 2.10 |
06.10.2022 17:22 | Bikerdude | Description Updated | |
06.10.2022 17:22 | Bikerdude | Additional Information Updated | |
07.10.2022 02:26 | nbohr1more | Note Added: 0015312 | |
07.10.2022 08:46 | Bikerdude | OS Version | 8.1 => 8.1 & 10 (21H2) |
07.10.2022 16:28 | nbohr1more | Note Added: 0015313 |