mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/audioinfiniteloop, examples/audiopanning: avoid resamplings
This commit is contained in:
parent
a65631bccc
commit
535e64f2bf
@ -33,7 +33,7 @@ import (
|
||||
const (
|
||||
screenWidth = 640
|
||||
screenHeight = 480
|
||||
sampleRate = 22050
|
||||
sampleRate = 32000
|
||||
bytesPerSample = 4 // 2 channels * 2 bytes (16 bit)
|
||||
|
||||
introLengthInSecond = 5
|
||||
|
@ -38,7 +38,7 @@ import (
|
||||
const (
|
||||
screenWidth = 640
|
||||
screenHeight = 480
|
||||
sampleRate = 22050
|
||||
sampleRate = 32000
|
||||
)
|
||||
|
||||
var ebitenImage *ebiten.Image
|
||||
|
Loading…
Reference in New Issue
Block a user