Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8754e07 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent 318cd78e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1266,7 +1266,7 @@ AudioFlinger::Client::Client(const sp<AudioFlinger>& audioFlinger, pid_t pid)
    :   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)
{