mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
examples: bug fix: wrong sample rate
This commit is contained in:
parent
597fe171a4
commit
80cbf7cbae
@ -30,7 +30,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
screenWidth = 640
|
screenWidth = 640
|
||||||
screenHeight = 480
|
screenHeight = 480
|
||||||
sampleRate = 32000
|
sampleRate = 48000
|
||||||
bytesPerSample = 4 // 2 channels * 2 bytes (16 bit)
|
bytesPerSample = 4 // 2 channels * 2 bytes (16 bit)
|
||||||
|
|
||||||
introLengthInSecond = 5
|
introLengthInSecond = 5
|
||||||
|
@ -35,7 +35,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
screenWidth = 640
|
screenWidth = 640
|
||||||
screenHeight = 480
|
screenHeight = 480
|
||||||
sampleRate = 32000
|
sampleRate = 48000
|
||||||
)
|
)
|
||||||
|
|
||||||
var ebitenImage *ebiten.Image
|
var ebitenImage *ebiten.Image
|
||||||
|
Loading…
Reference in New Issue
Block a user