aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-08-02 20:19:37 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-08-02 20:32:54 +0200
commitd8394a61e0bf71b41851b4fdf2094ac2614204e0 (patch)
tree17cff6aedb6297eb8664513ec520b350b1c89411 /src/adlmidi_private.hpp
parent9395426e07706546f31c7b0f4e79ca01be5b037d (diff)
downloadlibADLMIDI-d8394a61e0bf71b41851b4fdf2094ac2614204e0.tar.gz
libADLMIDI-d8394a61e0bf71b41851b4fdf2094ac2614204e0.tar.bz2
libADLMIDI-d8394a61e0bf71b41851b4fdf2094ac2614204e0.zip
add safety check for emulator switching
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 0a7a1bb..0219c67 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -1472,5 +1472,8 @@ extern void adl_audioTickHandler(void *instance, uint32_t chipId, uint32_t rate)
#endif
extern int adlRefreshNumCards(ADL_MIDIPlayer *device);
+extern bool adl_isEmulatorAvailable(int emulator);
+extern int adl_getHighestEmulator();
+extern int adl_getLowestEmulator();
#endif // ADLMIDI_PRIVATE_HPP