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

Commit ee301e5d authored by Lucas Gates's avatar Lucas Gates
Browse files

Tuner HAL Remove Outdated Filter Buffer Comment

The filter BUFFER_SIZE parameter currently contains a
comment stating that changing its size may cause sudden
crashes due to problems with memory management. This
problem has since been found and solved. Since the buffer
size is no longer a likely source of errors, this comment
should be removed.

Test: Comment only change
Bug: 236847284 introduced this comment, 239741712
covered the real root cause

Change-Id: I9344d136c7220f54d8c66dd4f4da68890b841886
parent e1bafc9b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -50,8 +50,7 @@ using ::android::AidlMessageQueue;
using ::android::hardware::EventFlag;

using FilterMQ = AidlMessageQueue<int8_t, SynchronizedReadWrite>;
// Large buffer size can lead to sudden crashes due to being de-allocated
// by the memory management system. Change the buffer size when needed.

const uint32_t BUFFER_SIZE = 0x800000;  // 8 MB

class Demux;