Mercurial > repos > blastem
comparison ym2612.h @ 1002:8d032a368dd5
Made low pass filter frequency configurable
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 01 May 2016 13:36:14 -0700 |
parents | 5257e85364ed |
children | 4b893b02444e |
comparison
equal
deleted
inserted
replaced
1001:1dc749c9c0d9 | 1002:8d032a368dd5 |
---|---|
123 REG_BLOCK_FN_CH3 = 0xAC, | 123 REG_BLOCK_FN_CH3 = 0xAC, |
124 REG_ALG_FEEDBACK = 0xB0, | 124 REG_ALG_FEEDBACK = 0xB0, |
125 REG_LR_AMS_PMS = 0xB4 | 125 REG_LR_AMS_PMS = 0xB4 |
126 }; | 126 }; |
127 | 127 |
128 void ym_init(ym2612_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t sample_limit, uint32_t options); | 128 void ym_init(ym2612_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t sample_limit, uint32_t options, uint32_t lowpass_cutoff); |
129 void ym_free(ym2612_context *context); | 129 void ym_free(ym2612_context *context); |
130 void ym_adjust_master_clock(ym2612_context * context, uint32_t master_clock); | 130 void ym_adjust_master_clock(ym2612_context * context, uint32_t master_clock); |
131 void ym_run(ym2612_context * context, uint32_t to_cycle); | 131 void ym_run(ym2612_context * context, uint32_t to_cycle); |
132 void ym_address_write_part1(ym2612_context * context, uint8_t address); | 132 void ym_address_write_part1(ym2612_context * context, uint8_t address); |
133 void ym_address_write_part2(ym2612_context * context, uint8_t address); | 133 void ym_address_write_part2(ym2612_context * context, uint8_t address); |