aboutsummaryrefslogtreecommitdiff
path: root/src/wopl/wopl_file.h
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2018-11-04 03:59:51 +0300
committerGitHub <noreply@github.com>2018-11-04 03:59:51 +0300
commita83a1fc30bc7331880460f4ef75471d4ef1b99e6 (patch)
treecdcf91e2382c7f19325f1fb6b2a42f936805a0d1 /src/wopl/wopl_file.h
parent699b534eb1dcd3964daf99cc572c6819bdd449a8 (diff)
parent4c33b5e9573608ce5f7ae845e59a97f087d1aa9d (diff)
downloadlibADLMIDI-a83a1fc30bc7331880460f4ef75471d4ef1b99e6.tar.gz
libADLMIDI-a83a1fc30bc7331880460f4ef75471d4ef1b99e6.tar.bz2
libADLMIDI-a83a1fc30bc7331880460f4ef75471d4ef1b99e6.zip
Merge pull request #190 from jpcima/wopl-update
update the WOPL library with fixes
Diffstat (limited to 'src/wopl/wopl_file.h')
-rw-r--r--src/wopl/wopl_file.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wopl/wopl_file.h b/src/wopl/wopl_file.h
index fa270b6..7461743 100644
--- a/src/wopl/wopl_file.h
+++ b/src/wopl/wopl_file.h
@@ -242,7 +242,7 @@ extern WOPLFile *WOPL_LoadBankFromMem(void *mem, size_t length, int *error);
/**
* @brief Load WOPI instrument file from the memory.
* You must allocate WOPIFile structure by yourself and give the pointer to it.
- * @param file Pointer to destinition WOPIFile structure to fill it with parsed data.
+ * @param file Pointer to destination WOPIFile structure to fill it with parsed data.
* @param mem Pointer to memory block contains raw WOPI instrument file data
* @param length Length of given memory block
* @return 0 if no errors occouped, or an error code of WOPL_ErrorCodes enumeration
@@ -252,7 +252,7 @@ extern int WOPL_LoadInstFromMem(WOPIFile *file, void *mem, size_t length);
/**
* @brief Calculate the size of the output memory block
* @param file Heap-allocated WOPL file data structure
- * @param version Destinition version of the file
+ * @param version Destination version of the file
* @return Size of the raw WOPL file data
*/
extern size_t WOPL_CalculateBankFileSize(WOPLFile *file, uint16_t version);
@@ -260,7 +260,7 @@ extern size_t WOPL_CalculateBankFileSize(WOPLFile *file, uint16_t version);
/**
* @brief Calculate the size of the output memory block
* @param file Pointer to WOPI file data structure
- * @param version Destinition version of the file
+ * @param version Destination version of the file
* @return Size of the raw WOPI file data
*/
extern size_t WOPL_CalculateInstFileSize(WOPIFile *file, uint16_t version);
@@ -268,8 +268,8 @@ extern size_t WOPL_CalculateInstFileSize(WOPIFile *file, uint16_t version);
/**
* @brief Write raw WOPL into given memory block
* @param file Heap-allocated WOPL file data structure
- * @param dest_mem Destinition memory block pointer
- * @param length Length of destinition memory block
+ * @param dest_mem Destination memory block pointer
+ * @param length Length of destination memory block
* @param version Wanted WOPL version
* @param force_gm Force GM set in saved bank file
* @return Error code or 0 on success
@@ -279,8 +279,8 @@ extern int WOPL_SaveBankToMem(WOPLFile *file, void *dest_mem, size_t length, uin
/**
* @brief Write raw WOPI into given memory block
* @param file Pointer to WOPI file data structure
- * @param dest_mem Destinition memory block pointer
- * @param length Length of destinition memory block
+ * @param dest_mem Destination memory block pointer
+ * @param length Length of destination memory block
* @param version Wanted WOPI version
* @return Error code or 0 on success
*/