@@ -86,12 +86,12 @@ class RTMIDI_DLL_PUBLIC RtMidiError : public std::exception
86
86
UNSPECIFIED, /* !< The default, unspecified error type. */
87
87
NO_DEVICES_FOUND, /* !< No devices found on system. */
88
88
INVALID_DEVICE, /* !< An invalid device ID was specified. */
89
- MEMORY_ERROR, /* !< An error occured during memory allocation. */
89
+ MEMORY_ERROR, /* !< An error occurred during memory allocation. */
90
90
INVALID_PARAMETER, /* !< An invalid parameter was specified to a function. */
91
91
INVALID_USE, /* !< The function was called incorrectly. */
92
- DRIVER_ERROR, /* !< A system driver error occured . */
93
- SYSTEM_ERROR, /* !< A system error occured . */
94
- THREAD_ERROR /* !< A thread error occured . */
92
+ DRIVER_ERROR, /* !< A system driver error occurred . */
93
+ SYSTEM_ERROR, /* !< A system error occurred . */
94
+ THREAD_ERROR /* !< A thread error occurred . */
95
95
};
96
96
97
97
// ! The constructor.
@@ -206,9 +206,9 @@ class RTMIDI_DLL_PUBLIC RtMidi
206
206
*/
207
207
virtual bool isPortOpen ( void ) const = 0;
208
208
209
- // ! Set an error callback function to be invoked when an error has occured .
209
+ // ! Set an error callback function to be invoked when an error has occurred .
210
210
/* !
211
- The callback function will be called whenever an error has occured . It is best
211
+ The callback function will be called whenever an error has occurred . It is best
212
212
to set the error callback function before opening a port.
213
213
*/
214
214
virtual void setErrorCallback ( RtMidiErrorCallback errorCallback = NULL , void *userData = 0 ) = 0;
@@ -373,9 +373,9 @@ class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi
373
373
*/
374
374
double getMessage ( std::vector<unsigned char > *message );
375
375
376
- // ! Set an error callback function to be invoked when an error has occured .
376
+ // ! Set an error callback function to be invoked when an error has occurred .
377
377
/* !
378
- The callback function will be called whenever an error has occured . It is best
378
+ The callback function will be called whenever an error has occurred . It is best
379
379
to set the error callback function before opening a port.
380
380
*/
381
381
virtual void setErrorCallback ( RtMidiErrorCallback errorCallback = NULL , void *userData = 0 );
@@ -491,9 +491,9 @@ class RTMIDI_DLL_PUBLIC RtMidiOut : public RtMidi
491
491
*/
492
492
void sendMessage ( const unsigned char *message, size_t size );
493
493
494
- // ! Set an error callback function to be invoked when an error has occured .
494
+ // ! Set an error callback function to be invoked when an error has occurred .
495
495
/* !
496
- The callback function will be called whenever an error has occured . It is best
496
+ The callback function will be called whenever an error has occurred . It is best
497
497
to set the error callback function before opening a port.
498
498
*/
499
499
virtual void setErrorCallback ( RtMidiErrorCallback errorCallback = NULL , void *userData = 0 );
0 commit comments