mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
audio: Remove padding 0 values
This commit is contained in:
parent
c090805021
commit
38e36dedc1
@ -64,11 +64,6 @@ func (s *mixedPlayersStream) Read(b []byte) (int, error) {
|
||||
}
|
||||
ll = min(len(p.buf)/4*4, ll)
|
||||
}
|
||||
for _, p := range closed {
|
||||
if len(p.buf) < ll {
|
||||
p.buf = append(p.buf, make([]byte, ll-len(p.buf))...)
|
||||
}
|
||||
}
|
||||
for i := 0; i < ll/2; i++ {
|
||||
x := 0
|
||||
for p := range s.context.players {
|
||||
|
Loading…
Reference in New Issue
Block a user