VLC only detects USB Type-C earphones if it's running when they're inserted
Description
I have the Samsung AKG USB type-C earphones. It's the first time I'm using this kind of connector for audio.
VLC won't play audio through it unless the app is running when the earphones are plugged in; it will otherwise use the built-in speakers, completely ignoring my earphones.
Expected behavior
When using a 3.5 mm (analog) audio device, VLC will output to it whenever it is connected.
Actual behavior
With USB-C earphones, VLC needs to be running when it is plugged in, otherwise it won't detect it.
Other players, such as the default Music app on CalyxOS, can always output to the USB-C device. Only VLC is failing.
Steps to reproduce
- Make sure VLC is not running. Clear it from the recent apps.
- Connect your USB-C earphones.
- Open VLC and try to play anything (it should be playing on the internal speakers).
- With VLC running and focused, remove and reinsert the device.
- Try to play anything again (now it should play on the USB-C device).
Screenshot / video
Context
App version
3.6.5
Android version
CalyxOS 6.10.20 (Android 15)
Device model
Motorola Moto G32
App mode
Smartphone
Edited by Douglas Silva