View Issue Details

IDProjectCategoryView StatusLast Update
0001333OpenMPTAudio I/Opublic2024-10-26 18:06
ReporterQueex Assigned Tomanx  
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.29.01.00 / libopenmpt 0.5.0 (upgrade first) 
Target VersionOpenMPT 1.33 / libopenmpt 0.9 (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 
related to 0001574 acknowledgedmanx program closes suddenly when headphones are removed 

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.01.00 / libopenmpt 0.6.0 (upgrade first)
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
2020-11-28 19:57 manx Target Version OpenMPT 1.30.01.00 / libopenmpt 0.6.0 (upgrade first) => OpenMPT 1.31.01.00 / libopenmpt 0.7.0 (upgrade first)
2022-03-05 09:20 manx Relationship added related to 0001574
2023-04-10 08:23 manx Target Version OpenMPT 1.31.01.00 / libopenmpt 0.7.0 (upgrade first) => OpenMPT 1.32 / libopenmpt 0.8 (goals)
2024-10-26 18:06 manx Target Version OpenMPT 1.32 / libopenmpt 0.8 (goals) => OpenMPT 1.33 / libopenmpt 0.9 (goals)