mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
audio: Refactoring
This commit is contained in:
parent
5fd8fe839b
commit
b15ad9c1d0
@ -420,7 +420,6 @@ func (p *Player) readToBuffer(length int) (int, error) {
|
||||
return 0, err
|
||||
}
|
||||
p.buf = append(p.buf, b[:n]...)
|
||||
b = b[:n]
|
||||
return len(p.buf), nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user