Bug 1456115 - Increase stack sizes when using audioipc. r?kinetik
This patch set calls a bit deeper in the audio callback thread (down into opus,
in particular).
MozReview-Commit-ID: 6LWACS6V0Yz
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -590,18 +590,18 @@ pref("media.video_stats.enabled", true);
// Log level for cubeb, the audio input/output system. Valid values are
// "verbose", "normal" and "" (log disabled).
pref("media.cubeb.logging_level", "");
// Cubeb sandbox (remoting) control
#ifdef XP_LINUX
pref("media.cubeb.sandbox", true);
pref("media.audioipc.pool_size", 2);
-// 64 kB stack per pool thread.
-pref("media.audioipc.stack_size", 65536);
+// 64 * 4 kB stack per pool thread.
+pref("media.audioipc.stack_size", 262144);
#else
pref("media.cubeb.sandbox", false);
#endif
pref("media.webaudio.audiocontextoptions-samplerate.enabled", true);
// Weather we allow AMD switchable graphics
pref("layers.amd-switchable-gfx.enabled", true);