mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
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:
parent
bfb6af4f3a
commit
68ee7c2d20
4 changed files with 520 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue