audio: Remove padding 0 values

This commit is contained in:
Hajime Hoshi 2016-03-06 18:25:52 +09:00
parent c090805021
commit 38e36dedc1

View File

@ -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 {