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.
This commit is contained in:
athenian200 2019-10-01 20:29:46 -05:00 committed by Roy Tam
commit 68ee7c2d20
4 changed files with 520 additions and 0 deletions

View file

@ -133,6 +133,10 @@ std::string SysInfo::OperatingSystemName() {
return std::string(info.sysname);
}
// Solaris <sys/utsname.h> contains "extern struct utsname utsname;"
// As a consequence, any use of utsname has to be proceeded with struct on
// Solaris. See Mozilla bugs 758483 and 1353332.
// static
std::string SysInfo::CPUArchitecture() {
#if !defined(XP_SOLARIS)