summaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio/files/patch-src_modules_oss-util.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-09-10 13:27:38 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-09-10 13:27:38 +0800
commit4530b5eef69a3ae9fedf798a89c01deb09822b98 (patch)
tree26bc2a2fb32b8d49f18a320a98b85d82646156d4 /audio/pulseaudio/files/patch-src_modules_oss-util.c
parent0bfbc6bf7fbabe82670a3989dc33cc9cc768fece (diff)
downloadmarcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.gz
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.zst
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9550 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/pulseaudio/files/patch-src_modules_oss-util.c')
-rw-r--r--audio/pulseaudio/files/patch-src_modules_oss-util.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/pulseaudio/files/patch-src_modules_oss-util.c b/audio/pulseaudio/files/patch-src_modules_oss-util.c
new file mode 100644
index 000000000..bee800d5d
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_modules_oss-util.c
@@ -0,0 +1,25 @@
+--- src/modules/oss-util.c.orig Sun Apr 29 19:53:31 2007
++++ src/modules/oss-util.c Sun Apr 29 19:55:24 2007
+@@ -40,6 +40,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;