Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
msaaudio
Commits
a435c34b
Commit
a435c34b
authored
Jan 20, 2020
by
Sylvain Berfini
🐮
Browse files
Blacklisted Samsung S10, speaker doesn't work
parent
8a87f0ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
androidsound_aaudio.cpp
androidsound_aaudio.cpp
+6
-0
No files found.
androidsound_aaudio.cpp
View file @
a435c34b
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment