calling .stop removes audio-outputs (.AudioOutputDeviceEnum.count=0)
Summary
When calling mediaplayer.stop, causes that mediaplayer.AudioOutputDeviceEnum will be cleared. Also when the audio output was set to a specific soundcard, the audio output will be reset to default output.
Minimal project and steps to reproduce
Create mediaplayer, get .AudioOutputDeviceEnum, call .stop, get .AudioOutputDeviceEnum
-->
What is the current bug behavior?
mediaplayer.AudioOutputDeviceEnum is cleared/disposed
What is the expected correct behavior?
mediaplayer.AudioOutputDeviceEnum will still be available after calling .stop
Does it work on other plaforms? Does it work with the official VLC apps?
Relevant LibVLC logs and/or screenshots
Environment
- OS: Windows 7 / Windows11
- Version
- Device: Windows desktop
- LibVLC version and architecture 3.0.18 x64
- LibVLCSharp version 3.7