not actually necessary
This commit is contained in:
parent
74f8a948e5
commit
aa72f1d4c7
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue