View Issue Details

IDProjectCategoryView StatusLast Update
0001333OpenMPTAudio I/Opublic2020-08-05 13:41
ReporterQueex Assigned Tomanx  
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first) 
Target VersionOpenMPT 1.30 / libopenmpt 0.6 (goals) 
Summary0001333: WASAPI Default Device should follow Windows default device changes (was: ~~does not work correctly with USB headphones~~)
Description

With the dropping of Direct Sound, I've been assuming that WASAPI - DefaultDevice (PortAudio) is the most appropriate device to use. However, this does not work correctly when pluging/unplugging USB headphones. The Default device does not update to the correct device (USB headphones/line out speakers) as the USB device is plugged in or out.

Needing to rescan devices and reselect the device every time the headphones go in or come out seems like a bug. Every other application I use switches over automatically; it's something unique to OpenMPT.

It's entirely possible this is something messed up on my system, but I can't find what.

Steps To Reproduce
  1. Launch OpenMPT without USB headphones in, playback through line out, correctly.
  2. Plug in USB headphones. Playback continues through line out, incorrectly.
  3. Rescan devices in Sound Card tab of Setup window, select default audio again, playback through headphones, correctly.
  4. Unplug USB headphones. Playback now fails completely with 'Unable to open sound device' error.
  5. Rescan devices in Sound Card tab of Setup window, select default audio again, playback through line out, correctly.
TagsNo tags attached.
Has the bug occurred in previous versions?No
Tested code revision (in case you know it)

Relationships

related to 0001350 acknowledgedmanx Implement native WASAPI backend 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-05-31 11:32 Queex New Issue
2020-05-31 11:55 manx Assigned To => manx
2020-05-31 11:55 manx Status new => acknowledged
2020-05-31 11:55 manx Target Version => OpenMPT 1.30 / libopenmpt 0.6 (goals)
2020-06-02 10:40 manx Severity major => minor
2020-06-02 10:40 manx Summary WASAPI Default Device does not work correctly with USB headphones => WASAPI Default Device should follow Windows default device changes (was: does not work correctly with USB headphones)
2020-08-05 13:41 manx Relationship added related to 0001350