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
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 6220bbf..2fe6378 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -200,7 +200,7 @@
// 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;
// ----------------------------------------------------------------------------