Permalink
Browse files

Fix wavHeaderSize calculation

  • Loading branch information...
1 parent 36dc36a commit 91b87d56e09a06995090d9cd1f962a342f76dd87 Uranium235 committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 WavFile.php
View
@@ -1123,7 +1123,7 @@ protected function getWavInfo()
$extraParams = fread($this->_fp, $extraParamsSize['Size']);
}
- $wavHeaderSize += ($extraParamsSize['Size'] - 16);
+ $wavHeaderSize += $extraParamsSize['Size'] + 2;
}
$dataHeader = fread($this->_fp, 8);

0 comments on commit 91b87d5

Please sign in to comment.