Changing the default audio playback device in Windows doesn't take effect in v18.06.02 and later. Playback device changes in v18.05.08 and earlier and every other program I have opened

Steps to reproduce:

  1. Launch Shotcut.
  2. Open a video with some audio or audio file.
  3. Sounds start to play. Let them play.
  4. Click the Windows button in the taskbar, click Control Panel, and click Sound.
  5. In the Playback tab, choose an audio device that is not checked as default.
  6. Click Set Default.
  7. Sounds from Shotcut continue to come out of the old default device while sounds from any other programs start to come out of the new default device.

Tested on 18.08.14, 18.07.02, and 18.06.02, and all of them exhibit the same problem.
18.05.08, 18.03.06, and earlier doesn’t exhibit this problem.

a) Only tested in Windows 7 SP1 64bit
b) This happens on both two PCs of mine with different CPUs.

This appears to be a limitation of the SDL2 audio API we are using. We do not get any notification from SDL, and SDL is not handling it intrinsically. A workaround besides restart is to do something like toggle Settings > Realtime, which recreates the player.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.