summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-mozilla_media_libcubeb_src_cubeb.c
blob: 42417b1cffc76aef6995d2bb6a029f130ac949d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-mozilla_media_libcubeb_src_cubeb.c,v 1.1 2014/11/02 05:40:31 ryoon Exp $

--- mozilla/media/libcubeb/src/cubeb.c.orig	2014-10-14 06:36:30.000000000 +0000
+++ mozilla/media/libcubeb/src/cubeb.c
@@ -54,6 +54,9 @@ int opensl_init(cubeb ** context, char c
 #if defined(USE_AUDIOTRACK)
 int audiotrack_init(cubeb ** context, char const * context_name);
 #endif
+#if defined(USE_OSS)
+int oss_init(cubeb ** context, char const * context_name);
+#endif
 
 int
 validate_stream_params(cubeb_stream_params stream_params)
@@ -120,6 +123,9 @@ cubeb_init(cubeb ** context, char const 
 #if defined(USE_AUDIOTRACK)
     audiotrack_init,
 #endif
+#if defined(USE_OSS)
+    oss_init,
+#endif
   };
   int i;