Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pos and length so that position in the loop can be determined #205

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xconverge
Copy link

@xconverge xconverge commented Oct 16, 2024

Pretty simple getters I found useful to calculate where in the loop I am to display, I did not find IsNearBeginning to be sufficient for my needs.

I am using it like this

  float percentageDone = 100.0 * (m_looperL.GetPos() / m_looperL.GetRecSize());

The formatting changes were so minor I thought it didn't impact the reviewability of the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant