mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 03:58:55 +01:00
audio/internal/convert: Adjust window size again (confirmed this worked well on iPhone 6)
This commit is contained in:
parent
5b2dbf6036
commit
11a1e6ec39
@ -162,7 +162,7 @@ func (r *Resampling) src(i int64) (float64, float64, error) {
|
||||
}
|
||||
|
||||
func (r *Resampling) at(t int64) (float64, float64, error) {
|
||||
windowSize := 4.0
|
||||
windowSize := 8.0
|
||||
tInSrc := float64(t) * float64(r.from) / float64(r.to)
|
||||
startN := int64(tInSrc - windowSize)
|
||||
if startN < 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user