Don't discard when a reset is pending
When a reset is pending the sample queues normally contain pre-seek samples (which will be emptied when a pending load is canceled). The position passed to discard will be a post-seek position. I don't think anything bad happened in any of the cases being changed, but discarding is unnecessary in such cases, and reasoning about such cases is difficult. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212435556
Showing
with
7 additions
and
1 deletions
Please
register
or
sign in
to comment