diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-08-03 00:36:20 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-08-03 00:36:20 +0300 |
commit | 0e2807a9d4c8c900e85c9b33ba96c69a82c58a68 (patch) | |
tree | 4f2d6ada0ab0bd1d64947a71c5492a29be7c8dbf /src/adlmidi_private.hpp | |
parent | d8394a61e0bf71b41851b4fdf2094ac2614204e0 (diff) | |
download | libADLMIDI-0e2807a9d4c8c900e85c9b33ba96c69a82c58a68.tar.gz libADLMIDI-0e2807a9d4c8c900e85c9b33ba96c69a82c58a68.tar.bz2 libADLMIDI-0e2807a9d4c8c900e85c9b33ba96c69a82c58a68.zip |
Minor cosmetical changes
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r-- | src/adlmidi_private.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 0219c67..6bb1dcf 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -1470,10 +1470,31 @@ struct FourChars #if defined(ADLMIDI_AUDIO_TICK_HANDLER) extern void adl_audioTickHandler(void *instance, uint32_t chipId, uint32_t rate); #endif + +/** + * @brief Automatically calculate and enable necessary count of 4-op channels on emulated chips + * @param device Library context + * @return Always 0 + */ extern int adlRefreshNumCards(ADL_MIDIPlayer *device); +/** + * @brief Check emulator availability + * @param emulator Emulator ID (ADL_Emulator) + * @return true when emulator is available + */ extern bool adl_isEmulatorAvailable(int emulator); + +/** + * @brief Find highest emulator + * @return The ADL_Emulator enum value which contains ID of highest emulator + */ extern int adl_getHighestEmulator(); + +/** + * @brief Find lowerest emulator + * @return The ADL_Emulator enum value which contains ID of lowerest emulator + */ extern int adl_getLowestEmulator(); #endif // ADLMIDI_PRIVATE_HPP |