From dfb5ea9cf695c24d24e451da24d384dd69634d43 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 1 May 2016 13:36:14 -0700 Subject: Made low pass filter frequency configurable --- psg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psg.h') diff --git a/psg.h b/psg.h index 5a97e18..d1b8541 100644 --- a/psg.h +++ b/psg.h @@ -33,7 +33,7 @@ typedef struct { } 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); -- cgit v1.2.3