commit | fc3d70736e4c24cbdc8c91076013c01e487fd4d5 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Mar 06 14:58:33 2017 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Mar 09 11:19:45 2017 -0800 |
tree | 66983b4e0373f17df87b9d90cee6db146b08cdc1 | |
parent | 3797706f445dedb223af0b20d38380d758317d22 [diff] |
fifo: handle overrun correctly On overrun, allow a non-throttling reader to read any frames not yet overwritten. Also provide an exact count of lost frames rather than an estimate, when the fifo is configured with a non-power-of-2 capacity. Bug: 36003483 Test: media.log and fifo interactive unit test Change-Id: Ia0a7b6f1043f1cd34f6b4fa779785afeff34c5c9