blob: 28fff455452352fd9857d5feb485e1d540bb7304 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- media/audio/BUILD.gn.orig 2023-09-13 12:11:42 UTC
+++ media/audio/BUILD.gn
@@ -279,9 +279,20 @@ source_set("audio") {
]
}
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !use_sndio) {
sources += [ "linux/audio_manager_linux.cc" ]
}
+
+ if (use_sndio) {
+ libs += [ "sndio" ]
+ sources += [
+ "sndio/audio_manager_sndio.cc",
+ "sndio/sndio_input.cc",
+ "sndio/sndio_input.h",
+ "sndio/sndio_output.cc",
+ "sndio/sndio_output.h"
+ ]
+ }
if (use_alsa) {
libs += [ "asound" ]
|