diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-20 00:18:01 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-20 00:18:01 -0700 |
commit | 1330513ae0da4236e17052c1a3ff16ec5a2bcc98 (patch) | |
tree | ae7f4b4524d0ee4a57214e497f25461681455439 /psg.h | |
parent | 38a8d12e41a45a75618f13944124f37dd30f47c3 (diff) |
Fix PSG linear resampling and implement a low pass filter
Diffstat (limited to 'psg.h')
-rw-r--r-- | psg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |