not actually necessary

This commit is contained in:
lifning 2021-12-27 19:14:14 -08:00
parent 74f8a948e5
commit aa72f1d4c7
1 changed files with 0 additions and 1 deletions

View File

@ -28,7 +28,6 @@ impl AudioCallback for MySdlAudio {
let buf_len = data.len();
let mut filled = self.reader.pop_slice(data);
filled += self.reader.pop_slice(&mut data[filled..]);
if filled == 0 {
data.fill(0);
} else {