Change SOUND_CLOCK_TICKS to 280896 cycles - ~1074 samples per frame
This commit is contained in:
parent
7e30b03889
commit
640ce45325
|
@ -38,7 +38,7 @@ SoundDriver* soundDriver = 0;
|
|||
|
||||
extern bool stopState; // TODO: silence sound when true
|
||||
|
||||
int const SOUND_CLOCK_TICKS_ = 167772; // 1/100 second
|
||||
int const SOUND_CLOCK_TICKS_ = 280896; // ~1074 samples per frame
|
||||
|
||||
static uint16_t soundFinalWave[1600];
|
||||
long soundSampleRate = 44100;
|
||||
|
|
Loading…
Reference in New Issue