From 2b0cfc0b3a05fc93c8d6fd9aab7b9e59bbd2c11c Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 31 Oct 2017 13:04:45 +0300 Subject: Added ability to print name of currently using OPL3 emulator --- include/adlmidi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index 1279e9f..634a22a 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -86,6 +86,9 @@ extern int adl_openBankFile(struct ADL_MIDIPlayer *device, char *filePath); extern int adl_openBankData(struct ADL_MIDIPlayer *device, void *mem, long size); +/*Returns name of currently used OPL3 emulator*/ +extern const char *adl_emulatorName(); + /*Returns string which contains last error message*/ extern const char *adl_errorString(); -- cgit v1.2.3