diff --git a/apple2sdl/sdlSpeaker.go b/apple2sdl/sdlSpeaker.go index 98e413a..30dbc59 100644 --- a/apple2sdl/sdlSpeaker.go +++ b/apple2sdl/sdlSpeaker.go @@ -16,7 +16,7 @@ import ( const ( samplingHz = 48000 - bufferSize = 10000 + bufferSize = 1000 // bufferSize/samplingHz will be the max delay of the sound sampleDurationCycles = 1000000 * apple2.CPUClockMhz / samplingHz // each sample on the sound stream is 21.31 cpu cycles approx