App force overrides my default audio device
Consent
- I verified that there is no open/closed issue for the same subject.
- I understand that YTMDesktop have NO affiliation with Google or YouTube
Current Behavior
Select a device to use in Windows. YTM overrides that device selection or otherwise mutes playback after up to one second. Toggling audio device selection fixes this. It happens again when I pause or skip to the next song.
Expected Behavior
Select a device to use in Windows and have YTM respect that selection. Consistently play back through selected device without failing on pause/next/prev.
OR
Be offered playback device selection as possible in Sp*tify.
Steps To Reproduce
- Have a bluetooth- and USB-capable DAC such as Ifi Go Blu (non Air), various Fiio models, or Qudelix 5K.
- Connect the device both by wired USB connection as well as by bluetooth simultaneously to the same computer.
- Set the USB connection as default in Windows. Do the same in the device's own settings if applicable.
- Open YTM and play music. Music may play back for up to 1 second and then go silent.
- Set audio device to BT connection and music will resume.
- Set audio device back to USB connection and music will continue playing.
- Optional: pause or skip to next song to repeat this bug from step 4.
YTMDesktop
2.0.12
OS
Windows
OS Version
11
Arch
x64
Installation way
winget
Anything else?
I have a Qudelix 5K. It is configured so that it prioritizes its USB connection, if available. I leave it plugged in and connected to bluetooth on my computer, simultaneously, with the USB connection set as default in Windows, so that if I unplug it, it automatically switches over to BT. When I plug it back in, it automatically switches back to USB. This allows me to grab a snack or similar without having to pause my music.
Currently, YTMD respects this selection for up to one second of playback and then stops producing sound. I can fix this by switching audio devices from USB to BT, and then back to USB. In the true Sound settings (accessible through Control Panel), in the Playback tab, there is indication of sound being played through the USB connection the entire time prior to manual device toggling.
Additionally, if I pause the song, whether by spacebar, mouse click, or pause key, this issue gets reapplied and I need to "toggle" devices again. If I skip to the next or previous song, the same again, whether by UI click or media key.
If I let a song play out and go to the next song "naturally" my device selection persists.
My suspicion is that the input of media keys somehow triggers this problem, although during the course of writing, music playback again cut out midway through a song.
I have used this exact same audio setup with no issues for the past 3-4 years in Sp*tify, browser audio, MPC-HC, and even most videogames. Testing those applications today produces the expected result it has for years: playback occurs through selected device, seamless switchover when device is unplugged, and seamless restoration when device is plugged back in.
Source: ytmdesktop/ytmdesktop