examples: Change the sample rate to 48000

Closes #1649
This commit is contained in:
Hajime Hoshi 2021-09-23 01:34:43 +09:00
parent 4b64eadfe5
commit f00bdc99f7
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ import (
const ( const (
screenWidth = 640 screenWidth = 640
screenHeight = 480 screenHeight = 480
sampleRate = 44100 sampleRate = 48000
) )
const ( const (

View File

@ -61,7 +61,7 @@ func init() {
const ( const (
screenWidth = 320 screenWidth = 320
screenHeight = 240 screenHeight = 240
sampleRate = 44100 sampleRate = 48000
baseFreq = 220 baseFreq = 220
) )

View File

@ -30,7 +30,7 @@ import (
const ( const (
screenWidth = 640 screenWidth = 640
screenHeight = 480 screenHeight = 480
sampleRate = 44100 sampleRate = 48000
frequency = 440 frequency = 440
) )