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

Commit 79a7782b authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Increase RecordThread heap size

When creating a software patch for transporting encoded
audio (AC3), the old heap size was not sufficient.

Bug: 63901775
Test: check for "not enough memory for pipe buffer" log message
      while creating a patch for transporting AC3
Change-Id: Idb0b2604f35f00e65e28bf8c066f6d861b2dd3c9
parent 495d8f29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ static int sFastTrackMultiplier = kFastTrackMultiplier;
// Initially this heap is used to allocate client buffers for "fast" AudioRecord.
// Eventually it will be the single buffer that FastCapture writes into via HAL read(),
// and that all "fast" AudioRecord clients read from.  In either case, the size can be small.
static const size_t kRecordThreadReadOnlyHeapSize = 0x4000;
static const size_t kRecordThreadReadOnlyHeapSize = 0xD000;

// ----------------------------------------------------------------------------