Bug 1456115 - Increase stack sizes when using audioipc. r?kinetik draft
authorPaul Adenot <paul@paul.cx>
Wed, 25 Apr 2018 12:28:14 +0200
changeset 787832 ac3f6606f9f640524c240381af11eaa1033f806e
parent 787248 990a600b616bfb730be60d8af1154f4303d2597a
push id107801
push userpaul@paul.cx
push dateWed, 25 Apr 2018 13:04:43 +0000
reviewerskinetik
bugs1456115
milestone61.0a1
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
modules/libpref/init/all.js
--- 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);