mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-02 20:29:44 +00:00
Reduce the sound delay
This commit is contained in:
parent
fd13326367
commit
202f7b36ce
@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
samplingHz = 48000
|
samplingHz = 48000
|
||||||
bufferSize = 10000
|
bufferSize = 1000
|
||||||
// bufferSize/samplingHz will be the max delay of the sound
|
// bufferSize/samplingHz will be the max delay of the sound
|
||||||
sampleDurationCycles = 1000000 * apple2.CPUClockMhz / samplingHz
|
sampleDurationCycles = 1000000 * apple2.CPUClockMhz / samplingHz
|
||||||
// each sample on the sound stream is 21.31 cpu cycles approx
|
// each sample on the sound stream is 21.31 cpu cycles approx
|
||||||
|
Loading…
Reference in New Issue
Block a user