We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fd0583b + a7dbfe9 commit d1d6a8fCopy full SHA for d1d6a8f
1 file changed
Waveform.php
@@ -60,7 +60,7 @@ public function getInfo()
60
}
61
62
if ($this->samples && $this->sampleRate) {
63
- $this->duration = 1.0 * $this->samples / $this->samples;
+ $this->duration = 1.0 * $this->samples / $this->sampleRate;
64
65
66
if ($ret !== 0) {
0 commit comments