summaryrefslogtreecommitdiff
path: root/opl/opl_internal.h
diff options
context:
space:
mode:
authorSimon Howard2009-10-17 22:36:15 +0000
committerSimon Howard2009-10-17 22:36:15 +0000
commite30325c40f6ea482862745db0f4555e513f2952e (patch)
tree74bf8304a8b9d5edb2f303d1673a03785e6e7bfc /opl/opl_internal.h
parent58f71d21b021bddcb24ac2b2b9736bf821221bd1 (diff)
downloadchocolate-doom-e30325c40f6ea482862745db0f4555e513f2952e.tar.gz
chocolate-doom-e30325c40f6ea482862745db0f4555e513f2952e.tar.bz2
chocolate-doom-e30325c40f6ea482862745db0f4555e513f2952e.zip
Add OPL library API function to set software emulation sample rate, and
set from snd_samplerate in the configuration file. Subversion-branch: /branches/opl-branch Subversion-revision: 1723
Diffstat (limited to 'opl/opl_internal.h')
-rw-r--r--opl/opl_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opl/opl_internal.h b/opl/opl_internal.h
index 78cbe7b2..4a46b060 100644
--- a/opl/opl_internal.h
+++ b/opl/opl_internal.h
@@ -56,5 +56,9 @@ typedef struct
opl_set_paused_func set_paused_func;
} opl_driver_t;
+// Sample rate to use when doing software emulation.
+
+extern unsigned int opl_sample_rate;
+
#endif /* #ifndef OPL_INTERNAL_H */