You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG ASSERT: "hintFrameCount >= 0" in function void CachingReader::hintAndMaybeWake(const HintVector&) at src/engine/cachingreader/cachingreader.cpp:535
#10556
Closed
mixxxbot opened this issue
Aug 23, 2022
· 5 comments
When setting a beatloop in front of the actual track (i.e. so that the end of the loop is before the first audio frame), the following debug assertion will be triggered:
DEBUG ASSERT: "hintFrameCount >= 0" in function void CachingReader::hintAndMaybeWake(const HintVector&) at src/engine/cachingreader/cachingreader.cpp:535
Steps to reproduce:
Go to the beginning of the track
Use beatjump to go to 8 beats before the beginning of the track
Set a Beatloop of 4 beats
DEBUG_ASSERT is triggered
The text was updated successfully, but these errors were encountered:
Looks like the assertion was introduced by 8589930 (#1223). In 7d96c38 (#3081, part of 2.3) I fixed a condition where the assertion was no longer true and hintFrameCount might be 0.
It looks like main now also makes it possible for negative values to occur?
Reported by: Holzhaus
Date: 2021-10-12T13:47:22Z
Status: Fix Committed
Importance: High
Launchpad Issue: lp1946759
Tags: engine, looping
When setting a beatloop in front of the actual track (i.e. so that the end of the loop is before the first audio frame), the following debug assertion will be triggered:
DEBUG ASSERT: "hintFrameCount >= 0" in function void CachingReader::hintAndMaybeWake(const HintVector&) at src/engine/cachingreader/cachingreader.cpp:535
Steps to reproduce:
The text was updated successfully, but these errors were encountered: