mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +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)
|
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++ {
|
for i := 0; i < ll/2; i++ {
|
||||||
x := 0
|
x := 0
|
||||||
for p := range s.context.players {
|
for p := range s.context.players {
|
||||||
|
Loading…
Reference in New Issue
Block a user