summaryrefslogtreecommitdiffstats
path: root/media/libcubeb/src/moz.build
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/moz.build
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/moz.build')
-rw-r--r--media/libcubeb/src/moz.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libcubeb/src/moz.build b/media/libcubeb/src/moz.build
index 2ca3a2f54..b6d07126a 100644
--- a/media/libcubeb/src/moz.build
+++ b/media/libcubeb/src/moz.build
@@ -45,6 +45,12 @@ if CONFIG['OS_ARCH'] == 'OpenBSD':
]
DEFINES['USE_SNDIO'] = True
+if CONFIG['OS_ARCH'] == 'SunOS':
+ SOURCES += [
+ 'cubeb_sun.c',
+ ]
+ DEFINES['USE_SUN'] = True
+
if CONFIG['OS_TARGET'] == 'Darwin':
SOURCES += [
'cubeb_audiounit.cpp',