From 1330513ae0da4236e17052c1a3ff16ec5a2bcc98 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 20 Apr 2016 00:18:01 -0700 Subject: Fix PSG linear resampling and implement a low pass filter --- psg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psg.h') diff --git a/psg.h b/psg.h index ca3f1f0..5a97e18 100644 --- a/psg.h +++ b/psg.h @@ -18,12 +18,12 @@ typedef struct { uint32_t cycles; uint32_t sample_rate; uint32_t samples_frame; + int32_t lowpass_alpha; uint16_t lsfr; uint16_t counter_load[4]; uint16_t counters[4]; int16_t accum; int16_t last_sample; - int16_t sample_count; uint8_t volume[4]; uint8_t output_state[4]; uint8_t noise_out; -- cgit v1.2.3