25 lines
682 B
C
25 lines
682 B
C
$NetBSD: patch-mozilla_media_libcubeb_src_cubeb.c,v 1.2 2016/04/17 18:33:50 ryoon Exp $
|
|
|
|
--- mozilla/media/libcubeb/src/cubeb.c.orig 2016-04-07 21:33:21.000000000 +0000
|
|
+++ mozilla/media/libcubeb/src/cubeb.c
|
|
@@ -60,6 +60,9 @@ int audiotrack_init(cubeb ** context, ch
|
|
#if defined(USE_KAI)
|
|
int kai_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)
|
|
@@ -129,6 +132,9 @@ cubeb_init(cubeb ** context, char const
|
|
#if defined(USE_KAI)
|
|
kai_init,
|
|
#endif
|
|
+#if defined(USE_OSS)
|
|
+ oss_init,
|
|
+#endif
|
|
};
|
|
int i;
|
|
|