Skip to content

Commit

Permalink
Fixes #97
Browse files Browse the repository at this point in the history
  • Loading branch information
Maescool committed Mar 4, 2020
1 parent 148e4af commit 5cd566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WavFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ public function setSampleValue($sampleFloat, $blockNum, $channelNum)
} else {
// replace
for ($i = 0; $i < $sampleBytes; ++$i) {
$this->_samples{$offset + $i} = $sampleBinary{$i};
$this->_samples[$offset + $i] = $sampleBinary[$i];
}
}

Expand Down

0 comments on commit 5cd566b

Please sign in to comment.