Patch from upstream.
This still requires that the webrtc client code call the new
tonality_analysis_init() function before first use of the
TonalityAnalysisState struct.
Ideally, we should properly make and shell quote everything we print out
in makefiles, but that's a can of worms I don't want to open just yet. So
I'll limit myself to just passthru variables.
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.
The gkmedias intermediate library is however kept for webrtc signaling tests.
DONTBUILD because it only changes comments.
This will hopefully prevent confusion like that in bug 1215903.
--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.
However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.
--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
The androidabi-4.8 toolchain we'd liek to use for B2G ICS builds cannot
compile this section of the opus source. Force-disable optimizations
for the offending code in order to avoid the ICE.
Opus doesn't seem to provide a define for being built as a static
library, but it allows us to override what it would define OPUS_EXPORT
to be. So we can just define OPUS_EXPORT to the empty string and then
those symbols will be hidden in libxul just like anything else.
opus doesn't seem to provide a define for being built as a static
library, but it allows us to override what it would define OPUS_EXPORT
to be. So we can just define OPUS_EXPORT to the empty string and then
those symbols will be hidden in libxul just like anything else.
From 80b8408c1466a245b5fdbb13df71d863a0dab292 Mon Sep 17 00:00:00 2001
This is no longer necessary now that we've updated to more recent
reference code and causes problems on some compilers.
Update our opus implementation to a prerelease of 1.1. This
brings many performance and encoder improvements and we believe
it is stable enough to switch. This import does not enable any
of the new assembly optimizations.
The imported code is https://git.xiph.org/opus.git master
commit f2446c25c6519bae190152f7a579310b83dc43fd.