From 64569468afb22a669e12a9661ee0f91a47babe93 Mon Sep 17 00:00:00 2001 From: xrip Date: Tue, 12 Dec 2023 13:59:27 +0300 Subject: [PATCH] cleanup --- src/audio/sn76489.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/sn76489.c b/src/audio/sn76489.c index 1519fee..5d20f1a 100644 --- a/src/audio/sn76489.c +++ b/src/audio/sn76489.c @@ -23,7 +23,7 @@ int32_t output; *The SN76489 is connected to a clock signal, which is commonly 3579545Hz for NTSC systems and 3546893Hz for PAL/SECAM systems (these are based on the associated TV colour subcarrier frequencies, and are common master clock speeds for many systems). It divides this clock by 16 to get its internal clock. The datasheets specify a maximum of 4MHz. */ uint32_t clock = 3579545; -uint32_t samplerate = 44100; +uint16_t samplerate = 44100; uint8_t quality = 0; uint32_t base_incr = 0;