0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-09 21:35:36 +00:00
Files
termux-packages/packages/spidermonkey/0011-use-UnderrunHandlerNoop.patch
2025-05-01 15:02:28 +08:00

24 lines
434 B
Diff

UnderrunHandlerLinux not working due to SELinux rules
--- a/dom/media/UnderrunHandlerLinux.cpp
+++ b/dom/media/UnderrunHandlerLinux.cpp
@@ -12,6 +12,8 @@
#include "audio_thread_priority.h"
#include "nsDebug.h"
+#ifndef __TERMUX__
+
namespace mozilla {
Atomic<bool, MemoryOrdering::ReleaseAcquire> gRealtimeLimitReached;
@@ -76,3 +78,9 @@
}
} // namespace mozilla
+
+#else
+
+#include "UnderrunHandlerNoop.cpp"
+
+#endif