DO NOT MERGE - AudioFlinger: increase per client memory pool
Temporary workaround for issue 14057166 allowing
AudioTracks from a given client to use up to 4MB
of shared memory.
Bug: 14057166.
Change-Id: I19adb8d424ed170df61c1cd706be3d10788edfc1
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index 500e2b8..a4cad4e 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -1266,7 +1266,7 @@
: RefBase(),
mAudioFlinger(audioFlinger),
// FIXME should be a "k" constant not hard-coded, in .h or ro. property, see 4 lines below
- mMemoryDealer(new MemoryDealer(1024*1024, "AudioFlinger::Client")),
+ mMemoryDealer(new MemoryDealer(4 * 1024*1024, "AudioFlinger::Client")),
mPid(pid),
mTimedTrackCount(0)
{