mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
parent
5bd1a883d1
commit
800a929e84
@ -286,6 +286,8 @@ func (p *players) readAndWriteBuffersImpl() {
|
||||
if n := headerBufferSize*headerNum - len(p.buf); n > 0 {
|
||||
// Do mixing of the current players instead of mixing on the OS side.
|
||||
// Apparently, mixing on the Go side is more effient and requires less buffers.
|
||||
//
|
||||
// waveOutSetVolume is not used since it doesn't work correctly in some environments.
|
||||
var volumes []float64
|
||||
var bufs [][]byte
|
||||
for pl := range p.players {
|
||||
|
Loading…
Reference in New Issue
Block a user