Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix audio np counter bug #1892
After creating your pull request, tick these boxes if they are applicable to you.
Fix #1738, where pausing the music and then resuming it resets the np counter. This fix is a replica of how progress is got in TheerapakG/ModuBot:alpha. However, this is not a proper implementation (based on the TODO) as it relies on the fact that read() reads 20ms worth of audio but there's really nothing we can do if the underlying source does not spit out 20ms worth of audio as it would then be wrong to the documentation anyway.
Related issues (if applicable)