We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0089e93 commit 5904502Copy full SHA for 5904502
internal/mux/mux.go
@@ -459,7 +459,7 @@ func (p *playerImpl) readBufferAndAdd(buf []float32) int {
459
}
460
461
channelCount := p.mux.channelCount
462
- rateDenom := float32(n) / float32(channelCount)
+ rateDenom := float32(n / channelCount)
463
// If the volume change is caused by a state change, use a small denom.
464
// On browsers, n might be too big and pausing might not be smooth.
465
if p.prevVolume == p.volume {
0 commit comments