Skip to content

Commit 6c2a6b4

Browse files
authored
Merge pull request #3733 from ann0see/aiFindings/typos
2 parents ae4898b + ddab540 commit 6c2a6b4

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎docs/JAMULUS_PROTOCOL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The message packet structure is:
6464
The TAG bytes are zero bytes.
6565
The ID provides the message type.
6666
The SEQ is a wrapping sequence number for the message
67-
LENgth of the data preceeds the data and is followed by a CRC for the packet.
67+
LENgth of the data precedes the data and is followed by a CRC for the packet.
6868

6969
Data is sent little-endian, i.e. not network byte-order.
7070

‎src/analyzerconsole.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ CAnalyzerConsole::CAnalyzerConsole ( CClient* pNCliP, QWidget* parent ) :
7777

7878
setLayout ( pMainLayout );
7979

80-
// error rate gaph tab
80+
// error rate graph tab
8181
pTabWidgetBufErrRate = new QWidget();
8282
QVBoxLayout* pTabErrRateLayout = new QVBoxLayout ( pTabWidgetBufErrRate );
8383

‎src/mac/activity.mm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
pActivity->activityId = [[NSProcessInfo processInfo]
6666
beginActivityWithOptions:options
67-
reason:@"Jamulus provides low latency audio processing and should not be inturrupted by system throttling."];
67+
reason:@"Jamulus provides low latency audio processing and should not be interrupted by system throttling."];
6868
}
6969

7070
void CActivity::EndActivity()

‎src/protocol.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ bool CProtocol::EvaluateCLRegisterServerResp ( const CHostAddress& InetAddr, con
26092609
const int iSvrRegResult = static_cast<int> ( GetValFromStream ( vecData, iPos, 1 ) );
26102610

26112611
if ( ( iSvrRegResult != SRR_REGISTERED ) && ( iSvrRegResult != SRR_SERVER_LIST_FULL ) && ( iSvrRegResult != SRR_VERSION_TOO_OLD ) &&
2612-
( iSvrRegResult != SRR_NOT_FULFILL_REQIREMENTS ) )
2612+
( iSvrRegResult != SRR_NOT_FULFILL_REQUIREMENTS ) )
26132613
{
26142614
return true;
26152615
}

‎src/serverlist.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ void CServerListManager::Append ( const CHostAddress& InetAddr,
608608
// if the server is not listed, refuse registration and send registration response
609609
if ( !vWhiteList.contains ( InetAddr.InetAddr ) )
610610
{
611-
pConnLessProtocol->CreateCLRegisterServerResp ( InetAddr, SRR_NOT_FULFILL_REQIREMENTS );
611+
pConnLessProtocol->CreateCLRegisterServerResp ( InetAddr, SRR_NOT_FULFILL_REQUIREMENTS );
612612
return; // leave function early, i.e., we do not register this server
613613
}
614614
}
@@ -920,7 +920,7 @@ void CServerListManager::StoreRegistrationResult ( ESvrRegResult eResult )
920920
SetSvrRegStatus ( ESvrRegStatus::SRS_VERSION_TOO_OLD );
921921
break;
922922

923-
case ESvrRegResult::SRR_NOT_FULFILL_REQIREMENTS:
923+
case ESvrRegResult::SRR_NOT_FULFILL_REQUIREMENTS:
924924
SetSvrRegStatus ( ESvrRegStatus::SRS_NOT_FULFILL_REQUIREMENTS );
925925
break;
926926

‎src/sound/jack/sound.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ int CSound::Init ( const int /* iNewPrefMonoBufferSize */ )
348348
CSoundBase::Init ( iJACKBufferSizeMono );
349349

350350
// set internal buffer size value and calculate stereo buffer size
351-
iJACKBufferSizeStero = 2 * iJACKBufferSizeMono;
351+
iJACKBufferSizeStereo = 2 * iJACKBufferSizeMono;
352352

353353
// create memory for intermediate audio buffer
354-
vecsTmpAudioSndCrdStereo.Init ( iJACKBufferSizeStero );
354+
vecsTmpAudioSndCrdStereo.Init ( iJACKBufferSizeStereo );
355355

356356
return iJACKBufferSizeMono;
357357
}

‎src/sound/jack/sound.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class CSound : public CSoundBase
116116
// to access them from the callback function
117117
CVector<short> vecsTmpAudioSndCrdStereo;
118118
int iJACKBufferSizeMono;
119-
int iJACKBufferSizeStero;
119+
int iJACKBufferSizeStereo;
120120
bool bJackWasShutDown;
121121

122122
jack_port_t* input_port_left;

‎src/util.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ enum ENetwFlags
528528
// Audio quality enum ----------------------------------------------------------
529529
enum EAudioQuality
530530
{
531-
// used for settings and the comobo box index -> enum values must be fixed!
531+
// used for settings and the combo box index -> enum values must be fixed!
532532
AQ_LOW = 0,
533533
AQ_NORMAL = 1,
534534
AQ_HIGH = 2,
@@ -703,10 +703,10 @@ inline QString svrRegStatusToString ( ESvrRegStatus eSvrRegStatus )
703703
enum ESvrRegResult
704704
{
705705
// used for protocol -> enum values must be fixed!
706-
SRR_REGISTERED = 0,
707-
SRR_SERVER_LIST_FULL = 1,
708-
SRR_VERSION_TOO_OLD = 2,
709-
SRR_NOT_FULFILL_REQIREMENTS = 3
706+
SRR_REGISTERED = 0,
707+
SRR_SERVER_LIST_FULL = 1,
708+
SRR_VERSION_TOO_OLD = 2,
709+
SRR_NOT_FULFILL_REQUIREMENTS = 3
710710
};
711711

712712
// Skill level enum ------------------------------------------------------------

0 commit comments

Comments
 (0)