mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-12 22:17:26 +01:00
audio/internal/convert: Adjust resamplingBufferSize again
This commit is contained in:
parent
ab70f6fc58
commit
5b2dbf6036
@ -97,7 +97,7 @@ func (r *Resampling) Size() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Resampling) src(i int64) (float64, float64, error) {
|
func (r *Resampling) src(i int64) (float64, float64, error) {
|
||||||
const resamplingBufferSize = 65536
|
const resamplingBufferSize = 4096
|
||||||
|
|
||||||
if i < 0 {
|
if i < 0 {
|
||||||
return 0, 0, nil
|
return 0, 0, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user