0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/firefox/0011-use-UnderrunHandlerNoop.patch
2024-03-11 10:33:53 +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