SHWotever / SimHub

Multi sim dashboard, bass shaker driver, ....
http://www.simhubdash.com/
803 stars 98 forks source link

global control system volume stopped working #1610

Open beastlyfern opened 6 months ago

beastlyfern commented 6 months ago

Describe the bug The global control for system volume is not working. It is still bound to the correct control and I see the volume bar changing on my simhub SimHub.txt dash board but the windows system volume does not change with it.

Simhub version Make sure to run the latest version tried installing the latest 9.2.15 butt the problem still exists

Third party plugins Make sure to disable first any third party plugins (It's a critical step before reporting any freeze/performance/crash issues)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Log files Join log files available in C:\Program Files (x86)\SimHub\Logs Note : Bug reports not joining proper log files won't be processed (Never join logs screenshots/photos/extracts, please exclusively join complete logs files).

How to attach files : https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files

Additional context Add any other context about the problem here.

SHWotever commented 6 months ago

Hi !

If you can still see the volume changing I would guess it's simply because the default sound card has been changed, maybe after swapping some usb ports with the usb sound card for bass shakers.

Can you check in windows sound settings the current default sound card ? image

beastlyfern commented 6 months ago

Hi,

Yeah for some reason even with my default audio set to the usb dac for my headphones simhub still only changes my sound card audio levels.

Should use 3-renonessence lab concero but instead it changes Speakers Realtek usb audio.

The default is always set to my headphones and I don't think any updates happen so not sure why this started happening all of a sudden.

If you have any ideas it would be greatly appreciated. Thanks so much for your amazing program.

beastlyfern commented 6 months ago

@SHWotever Yeah for some reason even with my default audio set to the usb dac for my headphones simhub still only changes my sound card audio levels.

Should use 3-renonessence lab concero but instead it changes Speakers Realtek usb audio.

The default is always set to my headphones and I don't think any updates happen so not sure why this started happening all of a sudden.

SHWotever commented 6 months ago

Hi ! I took another look and looks like buried inside windows there is another concept that superseeds the basic defaut sound card concept. I was retrieving the default one based on the "multimedia" role. But I guess this specific sound card has this role assigned. I've switched to console which should represent better the default sound card as seen in windows for the next version.

For reference : https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-roles-in-windows-vista#automatic-device-role-detection) https://learn.microsoft.com/en-us/windows/win32/api/mmdeviceapi/ne-mmdeviceapi-erole

image

beastlyfern commented 5 months ago

@SHWotever Thanks, just to confirm this change should be added to the update after 9.3.0? or is it 9.3.0, if it was added already I still have the same behaviour in 9.3.0. Thanks so much