From fd9ddf4a36fd0ab126d6c6d0948b99d335e84a31 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 26 Aug 2015 06:38:32 +0000 Subject: gecko: add INTEGER_SAMPLES option arm use S16 samples and libtremor since Firefox 34. So, adjust dependencies and make it controllable (for testing on x86). Note, arm is still BROKEN until ports/202642. https://bugzilla.mozilla.org/show_bug.cgi?id=1047791 --- mail/thunderbird/files/patch-sample-type | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mail/thunderbird/files/patch-sample-type (limited to 'mail') diff --git a/mail/thunderbird/files/patch-sample-type b/mail/thunderbird/files/patch-sample-type new file mode 100644 index 000000000000..fff99f4b1e3e --- /dev/null +++ b/mail/thunderbird/files/patch-sample-type @@ -0,0 +1,13 @@ +# Let ports handle default sample type + +--- mozilla/configure.in~ ++++ mozilla/configure.in +@@ -5144,7 +5144,7 @@ dnl Use integers over floats for audio o + dnl (regarless of the CPU architecture, because audio + dnl backends for those platforms don't support floats. We also + dnl use integers on ARM with other OS, because it's more efficient. +-if test "$OS_TARGET" = "Android" -o "$CPU_ARCH" = "arm"; then ++if test -n "$MOZ_INTEGER_SAMPLES"; then + MOZ_SAMPLE_TYPE_S16=1 + AC_DEFINE(MOZ_SAMPLE_TYPE_S16) + AC_SUBST(MOZ_SAMPLE_TYPE_S16) -- cgit v1.2.3