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

1 pixel individual drawing shift #1

Open
RadStr opened this issue Sep 3, 2020 · 0 comments
Open

1 pixel individual drawing shift #1

RadStr opened this issue Sep 3, 2020 · 0 comments

Comments

@RadStr
Copy link
Owner

RadStr commented Sep 3, 2020

// Added because when I start (when the first thing I draw are individuals) with drawing individual samples,
// which means the number of samples is less than there are pixels in the wave visualiser,
// then I had problem that when I started filling I started
// from index 1 and it was because of this. I had 0 and by retVal-- I got -1 which I subtracted in the
// convertToNonVisibleMostLeftIndexInAudio method, so I got +1 index than I really should have had.
if(retVal > 0) {
retVal--;
}

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

No branches or pull requests

1 participant