View Issue Details

IDProjectCategoryView StatusLast Update
0019018MMW 5Playbackpublic2023-09-26 16:31
Reporterpeke Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version5.0.3 
Target Version5.1.1 
Summary0019018: WASAPI: When OS default device change Playback stops (Regression)
DescriptionWhen OS default device change Playback stops and needs to be manually restarted.

Test case:
1. WASAPI playback on default device (Focusrite USB sound card)
2. Connect BT headphones -> Playback Stops once BT headphones are default device)
3. Start playback on BT headphones
4. Power off headphones -> Default gets back to Focusrite USB sound card -> Playback stops
5. Repeated steps few times.

DS plugin do not have that issue and Continue playback after Default device gets changed.
TagsNo tags attached.
Attached Files
image.png (7,106 bytes)   
image.png (7,106 bytes)   
Fixed in build

Activities

michal

2022-04-26 15:55

developer   ~0067799

Log shows, that it stopped playback because each device wanted different output format, it would lead to distorted playback otherwise, that is why we stop it now, output plugin suddenly needs audio data in different format than before.
Moved target to 5.0.4, I will look later, whether there could be done some usable workaround.

peke

2022-04-26 22:23

developer   ~0067807

Last edited: 2022-04-27 02:12

Strange is that DS do not have the same issue with exactly the same settings.
I guess the best solution would be to restart Playback (Stop -> Init new format -> Play) while position of track is position of interruption (OS Default output device change event)

michal

2022-04-27 07:22

developer   ~0067814

Last edited: 2022-04-27 07:22

DS framework has its own internal output format handling, WASAPI is more straightforward.

Yes, it is probably the only possibility, only risky to correctly initiate it from output plugin.