diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-20 09:18:58 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-20 09:18:58 -0700 |
commit | c311221fe24b3377a342a0f284313012bc38c286 (patch) | |
tree | 9e772bf9108afc0b9aa24bfe8e3d44536550b50f /ym2612.h | |
parent | 1330513ae0da4236e17052c1a3ff16ec5a2bcc98 (diff) |
Implemented linear resampling and low pass filter for the YM2612
Diffstat (limited to 'ym2612.h')
-rw-r--r-- | ym2612.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |