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

Commit 769d4d49 authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly Committed by Gerrit - the friendly Code Review server
Browse files

hal: Reduce the deep buffer period count.

-Deep buffer period count in the driver is 8. This adds to latency
 of 160ms. This also results in the common block to have 8 buffers.
-The total latency used for AV sync is 320ms. AV sync issues are
 seen due to this big latency
-Reduce the deep buffer cound from 8 to 4. This would reduce the
 latency.

CRs-Fixed: 598792
Change-Id: I1c057ee9d7c8a8cb747661e3dc62c9f44bf9ee79
parent d4f1d131
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ enum {
 * the buffer size of an input/output stream
 */
#define DEEP_BUFFER_OUTPUT_PERIOD_SIZE 960
#define DEEP_BUFFER_OUTPUT_PERIOD_COUNT 8
#define DEEP_BUFFER_OUTPUT_PERIOD_COUNT 4
#define LOW_LATENCY_OUTPUT_PERIOD_SIZE 240
#define LOW_LATENCY_OUTPUT_PERIOD_COUNT 2