Skip to content

Conversation

@netTrekfd
Copy link
Contributor

@netTrekfd netTrekfd commented Oct 25, 2017

The result of getDuration() was always 1.0 because of a small calculation error. If samples is divided by sampleRate, the result of getDuration() works as expected.

@maximal
Copy link
Owner

maximal commented Oct 25, 2017

Oh! You’re right! Of course!

Extremely thanks.

@maximal maximal merged commit d1d6a8f into maximal:master Oct 25, 2017
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.

2 participants