squeezelite icon indicating copy to clipboard operation
squeezelite copied to clipboard

[win10] squeezelite ignores output assigned through windows settigns and uses system default instead

Open Sirs0ri opened this issue 2 years ago • 2 comments

Description

When running squeezelite without setting an output device through -o <number>, squeezelite will always output sound to the system's default audio device, even if another output device is assigned through the windows settings.

Steps to reproduce

  1. Run squeezelite at least once, so that it'll show up in the windows audio settings.
  2. Open Windows Settings, System -> Sound -> App Volume And Device Preferences under "other"
  3. Assign Squeezelite to a different output than the system's default output
  4. Start squeezelite, without setting -o, and start playback

Expected Result: Squeezelite will start playing to the previously selected device. Actual result: Squeezelite will instead use the default device vos playback.

Verions Squeezelite v1.9.9-1462 Windows 10 22H2, build 19045.3803

I have another Win11 device where everything works as intended

Sirs0ri avatar Jan 04 '24 16:01 Sirs0ri

This remains a big problem for windows users. The correct default for Windows as listed using the -l option (on my machine, on this boot) is: 21 - Primary Sound Driver [Windows DirectSound] The number changes almost every boot meaning squeezelite can't be scheduled as a boot process and I need to hunt down the correct device number every boot and launch squeezelite manually.

Talismancer avatar Jan 11 '25 08:01 Talismancer

You can use the string -o "Primary Sound Driver [Windows DirectSound] " on the command line, you don't have to use the number.

ralph-irving avatar Jan 11 '25 10:01 ralph-irving