Mercurial > repos > blastem
diff psg.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 | e6dc30231b83 |
children | 4e5797b3935a |
line wrap: on
line diff
--- a/psg.h Sat Apr 30 20:57:29 2016 -0700 +++ b/psg.h Sun May 01 13:36:14 2016 -0700 @@ -33,7 +33,7 @@ } psg_context; -void psg_init(psg_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t samples_frame); +void psg_init(psg_context * context, uint32_t sample_rate, uint32_t master_clock, uint32_t clock_div, uint32_t samples_frame, uint32_t lowpass_cutoff); void psg_free(psg_context *context); void psg_adjust_master_clock(psg_context * context, uint32_t master_clock); void psg_write(psg_context * context, uint8_t value);