aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-06-19 16:12:27 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-06-19 16:25:36 +0200
commit3013fbb93b06e8d30b6b54c324340d6dccad7f3b (patch)
tree8ffbd8d896849ffd418bccf5d429f74e7f63c6d2 /include
parent70c83caace9911dc5d8b80c1653c96b073f88e4a (diff)
downloadlibADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.tar.gz
libADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.tar.bz2
libADLMIDI-3013fbb93b06e8d30b6b54c324340d6dccad7f3b.zip
get chip base on level with OPNMIDI
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 347f4b4..7eb66a9 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -219,6 +219,9 @@ typedef struct {
ADL_UInt16 patch;
} ADL_Version;
+/*Run emulator with PCM rate to reduce CPU usage on slow devices. May decrease sounding accuracy.*/
+extern int adl_setRunAtPcmRate(struct ADL_MIDIPlayer *device, int enabled);
+
/*Returns string which contains a version number*/
extern const char *adl_linkedLibraryVersion();