summaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio/files/patch-src_modules_oss_oss-util.c
blob: 5fe7ec3294d1021461f34ccf99ea229a3ebdfc97 (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
25
--- src/modules/oss/oss-util.c.orig 2007-11-08 21:45:25.000000000 -0500
+++ src/modules/oss/oss-util.c  2008-01-09 17:00:45.000000000 -0500
@@ -44,6 +44,22 @@
 
 #include "oss-util.h"
 
+#ifndef DSP_CAP_COPROC
+#define DSP_CAP_COPROC 0x00000800
+#endif
+#ifndef DSP_CAP_TRIGGER
+#define DSP_CAP_TRIGGER 0x00001000
+#endif
+#ifndef DSP_CAP_MMAP
+#define DSP_CAP_MMAP 0x00002000
+#endif
+#ifndef DSP_CAP_MULTI
+#define DSP_CAP_MULTI 0x00004000
+#endif
+#ifndef DSP_CAP_BIND
+#define DSP_CAP_BIND  0x00008000
+#endif
+
 int pa_oss_open(const char *device, int *mode, int* pcaps) {
     int fd = -1;
     int caps;