[pulseaudio-tickets] [Bug 95738] big endian support in webrtc-audio-processing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 8 14:49:07 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95738
--- Comment #4 from than <than at redhat.com> ---
(In reply to Felipe Sateler from comment #2)
> The attached patch does not fix the issue fully:
>
>
> https://buildd.debian.org/status/logs.php?pkg=webrtc-audio-processing&ver=0.
> 2-2&suite=experimental
it's another issue. please try following patch which should fix your issue
diff -up webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef
webrtc-audio-processing-0.2/webrtc/typedefs.h
--- webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef 2016-05-12
09:08:53.885000410 -0500
+++ webrtc-audio-processing-0.2/webrtc/typedefs.h 2016-05-12
09:12:38.006851953 -0500
@@ -48,7 +48,19 @@
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else
-#error Please add support for your architecture in typedefs.h
+/* instead of failing, use typical unix defines... */
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WEBRTC_ARCH_BIG_ENDIAN
+#else
+#error __BYTE_ORDER__ is not defined
+#endif
+#if defined(__LP64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
#endif
#if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160608/1f5900f4/attachment.html>
More information about the pulseaudio-bugs
mailing list