aboutsummaryrefslogtreecommitdiff
path: root/libopna/opnafm.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-01-06 22:57:53 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-01-06 22:57:53 +0900
commit534f7d138dd05ce938447ec8fe625899f3a4c857 (patch)
tree7ed8b3b9994df2374527f63678afad0e5621bf42 /libopna/opnafm.c
parentdebf5ff36789e6b4d269b2ead9a91d77852bd9df (diff)
libopna: opnafm: renamed and exported opna_fm_slot_env
Diffstat (limited to 'libopna/opnafm.c')
-rw-r--r--libopna/opnafm.c2
1 files changed, 1 insertions, 1 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;