aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libopna/opnafm.c2
-rw-r--r--libopna/opnafm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libopna/opnafm.c b/libopna/opnafm.c
index b96d727..dc19b6d 100644
--- a/libopna/opnafm.c
+++ b/libopna/opnafm.c
@@ -298,7 +298,7 @@ static void opna_fm_slot_setrate(struct opna_fm_slot *slot, int status) {
printf("rate_shifter: %d\n\n", slot->rate_shifter);
}
-static void opna_fm_slot_env(struct opna_fm_slot *slot, bool hires_env) {
+void opna_fm_slot_env(struct opna_fm_slot *slot, bool hires_env) {
// if (!(slot->env_count & ((1<<slot->rate_shifter)-1))) {
int rate_shifter = hires_env ? slot->rate_shifter_hires : slot->rate_shifter;
int rate_selector = hires_env ? slot->rate_selector_hires : slot->rate_selector;
diff --git a/libopna/opnafm.h b/libopna/opnafm.h
index 51bf214..8813c13 100644
--- a/libopna/opnafm.h
+++ b/libopna/opnafm.h
@@ -112,7 +112,7 @@ void opna_fm_writereg(struct opna_fm *fm, unsigned reg, unsigned val);
//
void opna_fm_chan_reset(struct opna_fm_channel *chan);
void opna_fm_chan_phase(struct opna_fm_channel *chan);
-void opna_fm_chan_env(struct opna_fm_channel *chan);
+void opna_fm_slot_env(struct opna_fm_slot *slot, bool hires_env);
void opna_fm_chan_set_blkfnum(struct opna_fm_channel *chan, unsigned blk, unsigned fnum);
struct opna_fm_frame {