Commit a435c34b authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Blacklisted Samsung S10, speaker doesn't work

parent 8a87f0ab
......@@ -730,6 +730,12 @@ MS_PLUGIN_DECLARE(void) libmsaaudio_init(MSFactory* factory) {
if (initAAudio() == 0) {
devices = ms_factory_get_devices_info(factory);
d = ms_devices_info_get_sound_device_description(devices);
if (d->flags & DEVICE_HAS_CRAPPY_AAUDIO) {
ms_error("[AAudio] Device is blacklisted, do not create AAudio soundcard");
return;
}
MSSndCardManager *m = ms_factory_get_snd_card_manager(factory);
MSSndCard *card = android_snd_card_new(m);
ms_snd_card_manager_prepend_card(m, card);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment