summaryrefslogtreecommitdiffstats
path: root/media/libcubeb/src/cubeb.c
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-01 20:29:46 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:40 -0500
commit57bfda37aebdef6a0f7bbb320d508dfaf1a89718 (patch)
treeba7e809d7e998fe088be8d702a95c6d0daa60ae2 /media/libcubeb/src/cubeb.c
parentf105b741e549e2c2b985e1458ff6153c3d13929a (diff)
downloadUXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.gz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.lz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.xz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.zip
MoonchildProductions#1251 - Part 6: Solaris needs an audio implementation.
Current versions of libcubeb already have a Sun audio implementation, but in Firefox 52 and earlier, this was all they had. I'm not completely happy with this implementation because it has issues like video freezing if the soundcard isn't working, but I think fixing this or pulling in a newer libcubeb would be going too far for too little gain.
Diffstat (limited to 'media/libcubeb/src/cubeb.c')
-rw-r--r--media/libcubeb/src/cubeb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libcubeb/src/cubeb.c b/media/libcubeb/src/cubeb.c
index eb22a9b94..a239319a4 100644
--- a/media/libcubeb/src/cubeb.c
+++ b/media/libcubeb/src/cubeb.c
@@ -54,6 +54,9 @@ int audiotrack_init(cubeb ** context, char const * context_name);
#if defined(USE_KAI)
int kai_init(cubeb ** context, char const * context_name);
#endif
+#if defined(USE_SUN)
+int sunaudio_init(cubeb ** context, char const * context_name);
+#endif
static int
@@ -141,6 +144,9 @@ cubeb_init(cubeb ** context, char const * context_name)
#if defined(USE_KAI)
kai_init,
#endif
+#if defined(USE_SUN)
+ sunaudio_init,
+#endif
};
int i;