-
Notifications
You must be signed in to change notification settings - Fork 16
/
binding.gyp
41 lines (38 loc) · 948 Bytes
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"targets": [
{
"target_name": "vock",
"dependencies": [
"deps/opus/opus.gyp:opus",
"deps/speex/speex.gyp:speex",
],
"include_dirs": [
"src",
"src/opus",
"src/audio",
"deps/opus/opus/include",
"deps/speex/speex/include",
],
"libraries": [ "-lpthread" ],
"sources": [
"src/opus/binding.cc",
"src/audio/portaudio/pa_ringbuffer.c",
"src/audio/unit.cc",
"src/audio/binding.cc",
"src/vock.cc",
],
"conditions": [
["OS=='mac'", {
"libraries": [ "-framework AudioUnit" ],
"sources": [ "src/audio/platform/mac.c" ],
"defines": [ "__PLATFORM_MAC__" ]
}],
["OS=='linux'", {
"libraries": [ "-lpulse" ],
"sources": [ "src/audio/platform/linux.c" ],
"defines": [ "__PLATFORM_LINUX__" ]
}]
]
}
]
}