summaryrefslogtreecommitdiff
path: root/psg.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-05-01 13:36:14 -0700
committerMichael Pavone <pavone@retrodev.com>2016-05-01 13:36:14 -0700
commitdfb5ea9cf695c24d24e451da24d384dd69634d43 (patch)
tree695a8cc1883a6fa919b2bbc0d22009f03fe96772 /psg.h
parent5be1df76921a1f7ad103dca3e7f731fa4a53d254 (diff)
Made low pass filter frequency configurable
Diffstat (limited to 'psg.h')
-rw-r--r--psg.h2
1 files changed, 1 insertions, 1 deletions
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);