fixed typos
This commit is contained in:
parent
aaafb07f77
commit
446f5808f9
|
@ -1,4 +1,4 @@
|
||||||
Piano Booster Music has now moved to it's own seperate repositry.
|
Piano Booster Music has now moved to it's own separate repository.
|
||||||
|
|
||||||
Please see https://github.com/pianobooster/BoosterMusic
|
Please see https://github.com/pianobooster/BoosterMusic
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;NSIS Modern User Interface
|
;NSIS Modern User Interface
|
||||||
;create the windows install exectuable
|
;create the windows install executable
|
||||||
;Piano Booster
|
;Piano Booster
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
|
|
@ -85,12 +85,12 @@ class RTMIDI_DLL_PUBLIC RtMidiError : public std::exception
|
||||||
UNSPECIFIED, /*!< The default, unspecified error type. */
|
UNSPECIFIED, /*!< The default, unspecified error type. */
|
||||||
NO_DEVICES_FOUND, /*!< No devices found on system. */
|
NO_DEVICES_FOUND, /*!< No devices found on system. */
|
||||||
INVALID_DEVICE, /*!< An invalid device ID was specified. */
|
INVALID_DEVICE, /*!< An invalid device ID was specified. */
|
||||||
MEMORY_ERROR, /*!< An error occured during memory allocation. */
|
MEMORY_ERROR, /*!< An error occurred during memory allocation. */
|
||||||
INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
|
INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
|
||||||
INVALID_USE, /*!< The function was called incorrectly. */
|
INVALID_USE, /*!< The function was called incorrectly. */
|
||||||
DRIVER_ERROR, /*!< A system driver error occured. */
|
DRIVER_ERROR, /*!< A system driver error occurred. */
|
||||||
SYSTEM_ERROR, /*!< A system error occured. */
|
SYSTEM_ERROR, /*!< A system error occurred. */
|
||||||
THREAD_ERROR /*!< A thread error occured. */
|
THREAD_ERROR /*!< A thread error occurred. */
|
||||||
};
|
};
|
||||||
|
|
||||||
//! The constructor.
|
//! The constructor.
|
||||||
|
@ -202,9 +202,9 @@ class RTMIDI_DLL_PUBLIC RtMidi
|
||||||
*/
|
*/
|
||||||
virtual bool isPortOpen( void ) const = 0;
|
virtual bool isPortOpen( void ) const = 0;
|
||||||
|
|
||||||
//! Set an error callback function to be invoked when an error has occured.
|
//! Set an error callback function to be invoked when an error has occurred.
|
||||||
/*!
|
/*!
|
||||||
The callback function will be called whenever an error has occured. It is best
|
The callback function will be called whenever an error has occurred. It is best
|
||||||
to set the error callback function before opening a port.
|
to set the error callback function before opening a port.
|
||||||
*/
|
*/
|
||||||
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 ) = 0;
|
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 ) = 0;
|
||||||
|
@ -364,9 +364,9 @@ class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi
|
||||||
*/
|
*/
|
||||||
double getMessage( std::vector<unsigned char> *message );
|
double getMessage( std::vector<unsigned char> *message );
|
||||||
|
|
||||||
//! Set an error callback function to be invoked when an error has occured.
|
//! Set an error callback function to be invoked when an error has occurred.
|
||||||
/*!
|
/*!
|
||||||
The callback function will be called whenever an error has occured. It is best
|
The callback function will be called whenever an error has occurred. It is best
|
||||||
to set the error callback function before opening a port.
|
to set the error callback function before opening a port.
|
||||||
*/
|
*/
|
||||||
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
|
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
|
||||||
|
@ -467,9 +467,9 @@ class RTMIDI_DLL_PUBLIC RtMidiOut : public RtMidi
|
||||||
*/
|
*/
|
||||||
void sendMessage( const unsigned char *message, size_t size );
|
void sendMessage( const unsigned char *message, size_t size );
|
||||||
|
|
||||||
//! Set an error callback function to be invoked when an error has occured.
|
//! Set an error callback function to be invoked when an error has occurred.
|
||||||
/*!
|
/*!
|
||||||
The callback function will be called whenever an error has occured. It is best
|
The callback function will be called whenever an error has occurred. It is best
|
||||||
to set the error callback function before opening a port.
|
to set the error callback function before opening a port.
|
||||||
*/
|
*/
|
||||||
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
|
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
|
||||||
|
|
|
@ -473,7 +473,7 @@ void CConductor::turnOnKeyboardLights(bool on)
|
||||||
if (Cfg::keyboardLightsChan == -1)
|
if (Cfg::keyboardLightsChan == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// exit if keybaord light are allready on
|
// exit if keyboard light are already on
|
||||||
if (m_KeyboardLightsOn && on)
|
if (m_KeyboardLightsOn && on)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -557,7 +557,7 @@ void CSettings::setupDefaultSoundFont(){
|
||||||
QStringList dirList = directory.entryList(QStringList(),QDir::AllEntries);
|
QStringList dirList = directory.entryList(QStringList(),QDir::AllEntries);
|
||||||
foreach(QString filename, dirList)
|
foreach(QString filename, dirList)
|
||||||
{
|
{
|
||||||
// Find the first sound fount file
|
// Find the first sound font file
|
||||||
if ( filename.endsWith(".sf2", Qt::CaseInsensitive ) )
|
if ( filename.endsWith(".sf2", Qt::CaseInsensitive ) )
|
||||||
{
|
{
|
||||||
defaultSoundFont.setFile(directory.path(), filename);
|
defaultSoundFont.setFile(directory.path(), filename);
|
||||||
|
|
|
@ -130,7 +130,7 @@ public:
|
||||||
setValue("FluidSynth/SoundFont", getFluidSoundFontNames());
|
setValue("FluidSynth/SoundFont", getFluidSoundFontNames());
|
||||||
}
|
}
|
||||||
|
|
||||||
// has a new sound fount been entered that is not the same as the old sound font
|
// has a new sound font been entered that is not the same as the old sound font
|
||||||
bool isNewSoundFontEntered()
|
bool isNewSoundFontEntered()
|
||||||
{
|
{
|
||||||
if (getFluidSoundFontNames().isEmpty())
|
if (getFluidSoundFontNames().isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue