aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2022-10-26 04:35:23 +0300
committerWohlstand <admin@wohlnet.ru>2022-10-26 04:35:23 +0300
commit5c83bcad53c1ab55715371884f05eb139459cbb7 (patch)
treefe4b0da110ac1269700d6f58406455fc55c629ad /include
parent75608c77c064bfc5ad7bb6d378b46b104ee2a976 (diff)
downloadlibADLMIDI-5c83bcad53c1ab55715371884f05eb139459cbb7.tar.gz
libADLMIDI-5c83bcad53c1ab55715371884f05eb139459cbb7.tar.bz2
libADLMIDI-5c83bcad53c1ab55715371884f05eb139459cbb7.zip
Fixed typo in the function pointer declaration
Diffstat (limited to 'include')
-rw-r--r--include/adlmidi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index 6afcefc..f315f78 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -1309,7 +1309,7 @@ typedef void (*ADL_DebugMessageHook)(void *userdata, const char *fmt, ...);
* @brief Loop start/end point reach hook
* @param userdata Pointer to user data (usually, context of someting)
*/
-typedef void (*ASL_LoopPointHook)(void *userdata);
+typedef void (*ADL_LoopPointHook)(void *userdata);
/**
* @brief Set raw MIDI event hook
@@ -1361,7 +1361,7 @@ extern ADLMIDI_DECLSPEC void adl_setDebugMessageHook(struct ADL_MIDIPlayer *devi
* @param loopStartHook Pointer to the callback function which will be called on every loop start point passing
* @param userData Pointer to user data which will be passed through the callback.
*/
-extern ADLMIDI_DECLSPEC void adl_setLoopStartHook(struct ADL_MIDIPlayer *device, ASL_LoopPointHook loopStartHook, void *userData);
+extern ADLMIDI_DECLSPEC void adl_setLoopStartHook(struct ADL_MIDIPlayer *device, ADL_LoopPointHook loopStartHook, void *userData);
/**
* @brief Set the look start point hook
@@ -1377,7 +1377,7 @@ extern ADLMIDI_DECLSPEC void adl_setLoopStartHook(struct ADL_MIDIPlayer *device,
* @param loopStartHook Pointer to the callback function which will be called on every loop start point passing
* @param userData Pointer to user data which will be passed through the callback.
*/
-extern ADLMIDI_DECLSPEC void adl_setLoopEndHook(struct ADL_MIDIPlayer *device, ASL_LoopPointHook loopEndHook, void *userData);
+extern ADLMIDI_DECLSPEC void adl_setLoopEndHook(struct ADL_MIDIPlayer *device, ADL_LoopPointHook loopEndHook, void *userData);
/**
* @brief Get a textual description of the channel state. For display only.