diff --git a/docs/JAMULUS_PROTOCOL.md b/docs/JAMULUS_PROTOCOL.md index 91069e008b..20fc0438f0 100644 --- a/docs/JAMULUS_PROTOCOL.md +++ b/docs/JAMULUS_PROTOCOL.md @@ -64,7 +64,7 @@ The message packet structure is: The TAG bytes are zero bytes. The ID provides the message type. The SEQ is a wrapping sequence number for the message -LENgth of the data preceeds the data and is followed by a CRC for the packet. +LENgth of the data precedes the data and is followed by a CRC for the packet. Data is sent little-endian, i.e. not network byte-order. diff --git a/src/analyzerconsole.cpp b/src/analyzerconsole.cpp index 3c5635c79c..9ae2b75d02 100644 --- a/src/analyzerconsole.cpp +++ b/src/analyzerconsole.cpp @@ -77,7 +77,7 @@ CAnalyzerConsole::CAnalyzerConsole ( CClient* pNCliP, QWidget* parent ) : setLayout ( pMainLayout ); - // error rate gaph tab + // error rate graph tab pTabWidgetBufErrRate = new QWidget(); QVBoxLayout* pTabErrRateLayout = new QVBoxLayout ( pTabWidgetBufErrRate ); diff --git a/src/mac/activity.mm b/src/mac/activity.mm index 34216977cf..fcaf65e253 100644 --- a/src/mac/activity.mm +++ b/src/mac/activity.mm @@ -64,7 +64,7 @@ pActivity->activityId = [[NSProcessInfo processInfo] beginActivityWithOptions:options - reason:@"Jamulus provides low latency audio processing and should not be inturrupted by system throttling."]; + reason:@"Jamulus provides low latency audio processing and should not be interrupted by system throttling."]; } void CActivity::EndActivity() diff --git a/src/protocol.cpp b/src/protocol.cpp index a595a24e45..bbb0a859d3 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -2609,7 +2609,7 @@ bool CProtocol::EvaluateCLRegisterServerResp ( const CHostAddress& InetAddr, con const int iSvrRegResult = static_cast ( GetValFromStream ( vecData, iPos, 1 ) ); if ( ( iSvrRegResult != SRR_REGISTERED ) && ( iSvrRegResult != SRR_SERVER_LIST_FULL ) && ( iSvrRegResult != SRR_VERSION_TOO_OLD ) && - ( iSvrRegResult != SRR_NOT_FULFILL_REQIREMENTS ) ) + ( iSvrRegResult != SRR_NOT_FULFILL_REQUIREMENTS ) ) { return true; } diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 90cdff4938..03b76f16b5 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -608,7 +608,7 @@ void CServerListManager::Append ( const CHostAddress& InetAddr, // if the server is not listed, refuse registration and send registration response if ( !vWhiteList.contains ( InetAddr.InetAddr ) ) { - pConnLessProtocol->CreateCLRegisterServerResp ( InetAddr, SRR_NOT_FULFILL_REQIREMENTS ); + pConnLessProtocol->CreateCLRegisterServerResp ( InetAddr, SRR_NOT_FULFILL_REQUIREMENTS ); return; // leave function early, i.e., we do not register this server } } @@ -920,7 +920,7 @@ void CServerListManager::StoreRegistrationResult ( ESvrRegResult eResult ) SetSvrRegStatus ( ESvrRegStatus::SRS_VERSION_TOO_OLD ); break; - case ESvrRegResult::SRR_NOT_FULFILL_REQIREMENTS: + case ESvrRegResult::SRR_NOT_FULFILL_REQUIREMENTS: SetSvrRegStatus ( ESvrRegStatus::SRS_NOT_FULFILL_REQUIREMENTS ); break; diff --git a/src/sound/jack/sound.cpp b/src/sound/jack/sound.cpp index 3868809cb6..a72a9c9059 100644 --- a/src/sound/jack/sound.cpp +++ b/src/sound/jack/sound.cpp @@ -348,10 +348,10 @@ int CSound::Init ( const int /* iNewPrefMonoBufferSize */ ) CSoundBase::Init ( iJACKBufferSizeMono ); // set internal buffer size value and calculate stereo buffer size - iJACKBufferSizeStero = 2 * iJACKBufferSizeMono; + iJACKBufferSizeStereo = 2 * iJACKBufferSizeMono; // create memory for intermediate audio buffer - vecsTmpAudioSndCrdStereo.Init ( iJACKBufferSizeStero ); + vecsTmpAudioSndCrdStereo.Init ( iJACKBufferSizeStereo ); return iJACKBufferSizeMono; } diff --git a/src/sound/jack/sound.h b/src/sound/jack/sound.h index d4f5de2859..024f2b48ef 100644 --- a/src/sound/jack/sound.h +++ b/src/sound/jack/sound.h @@ -116,7 +116,7 @@ class CSound : public CSoundBase // to access them from the callback function CVector vecsTmpAudioSndCrdStereo; int iJACKBufferSizeMono; - int iJACKBufferSizeStero; + int iJACKBufferSizeStereo; bool bJackWasShutDown; jack_port_t* input_port_left; diff --git a/src/util.h b/src/util.h index 84ce8e3261..563fbb58ef 100644 --- a/src/util.h +++ b/src/util.h @@ -528,7 +528,7 @@ enum ENetwFlags // Audio quality enum ---------------------------------------------------------- enum EAudioQuality { - // used for settings and the comobo box index -> enum values must be fixed! + // used for settings and the combo box index -> enum values must be fixed! AQ_LOW = 0, AQ_NORMAL = 1, AQ_HIGH = 2, @@ -703,10 +703,10 @@ inline QString svrRegStatusToString ( ESvrRegStatus eSvrRegStatus ) enum ESvrRegResult { // used for protocol -> enum values must be fixed! - SRR_REGISTERED = 0, - SRR_SERVER_LIST_FULL = 1, - SRR_VERSION_TOO_OLD = 2, - SRR_NOT_FULFILL_REQIREMENTS = 3 + SRR_REGISTERED = 0, + SRR_SERVER_LIST_FULL = 1, + SRR_VERSION_TOO_OLD = 2, + SRR_NOT_FULFILL_REQUIREMENTS = 3 }; // Skill level enum ------------------------------------------------------------