From c311221fe24b3377a342a0f284313012bc38c286 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 20 Apr 2016 09:18:58 -0700 Subject: Implemented linear resampling and low pass filter for the YM2612 --- ym2612.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 13a65ac..566626e 100644 --- a/ym2612.h +++ b/ym2612.h @@ -70,12 +70,15 @@ typedef struct { //TODO: Condense the next two fields into one uint32_t write_cycle; uint32_t busy_cycles; + uint32_t lowpass_alpha; ym_operator operators[NUM_OPERATORS]; ym_channel channels[NUM_CHANNELS]; uint16_t timer_a; uint16_t timer_a_load; uint16_t env_counter; ym_supp ch3_supp[3]; + int16_t last_left; + int16_t last_right; uint8_t timer_b; uint8_t sub_timer_b; uint8_t timer_b_load; -- cgit v1.2.3