From ae9993bb34bf756e075fe37649df0b7f0e660cc3 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 14 Jun 2022 14:49:05 -0400 Subject: Fix typos --- common/JackDebugClient.cpp | 12 ++++++------ common/JackNetTool.h | 2 +- dbus/jack_control | 2 +- man/alsa_in.0 | 2 +- waflib/Utils.py | 2 +- windows/README | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/common/JackDebugClient.cpp b/common/JackDebugClient.cpp index a7d11f9e..bd2f434f 100644 --- a/common/JackDebugClient.cpp +++ b/common/JackDebugClient.cpp @@ -176,7 +176,7 @@ int JackDebugClient::Deactivate() int res = fClient->Deactivate(); fIsDeactivated++; if (fIsActivated == 0) - *fStream << "Client '" << fClientName << "' deactivate while it hasn't been previoulsy activated !" << endl; + *fStream << "Client '" << fClientName << "' deactivate while it hasn't been previously activated !" << endl; *fStream << "Client '" << fClientName << "' Deactivated" << endl; if (res != 0) *fStream << "Client '" << fClientName << "' try to deactivate but server return " << res << " ." << endl; @@ -241,13 +241,13 @@ int JackDebugClient::PortConnect(const char* src, const char* dst) for (i = (fTotalPortNumber - 1); i >= 0; i--) { // We search the record into the history if (strcmp(fPortList[i].name, src) == 0) { // We found the last record in sources if (fPortList[i].IsUnregistered != 0) - *fStream << "!!! ERROR !!! Connecting port " << src << " previoulsy unregistered !" << endl; + *fStream << "!!! ERROR !!! Connecting port " << src << " previously unregistered !" << endl; fPortList[i].IsConnected++; *fStream << "Connecting port " << src << " to " << dst << ". "; break; } else if (strcmp(fPortList[i].name, dst) == 0 ) { // We found the record in dest if (fPortList[i].IsUnregistered != 0) - *fStream << "!!! ERROR !!! Connecting port " << dst << " previoulsy unregistered !" << endl; + *fStream << "!!! ERROR !!! Connecting port " << dst << " previously unregistered !" << endl; fPortList[i].IsConnected++; *fStream << "Connecting port " << src << " to " << dst << ". "; break; @@ -271,13 +271,13 @@ int JackDebugClient::PortDisconnect(const char* src, const char* dst) for (i = (fTotalPortNumber - 1); i >= 0; i--) { // We search the record into the history if (strcmp(fPortList[i].name, src) == 0) { // We found the record in sources if (fPortList[i].IsUnregistered != 0) - *fStream << "!!! ERROR !!! : Disconnecting port " << src << " previoulsy unregistered !" << endl; + *fStream << "!!! ERROR !!! : Disconnecting port " << src << " previously unregistered !" << endl; fPortList[i].IsConnected--; *fStream << "disconnecting port " << src << ". "; break; } else if (strcmp(fPortList[i].name, dst) == 0 ) { // We found the record in dest if (fPortList[i].IsUnregistered != 0) - *fStream << "!!! ERROR !!! : Disonnecting port " << dst << " previoulsy unregistered !" << endl; + *fStream << "!!! ERROR !!! : Disonnecting port " << dst << " previously unregistered !" << endl; fPortList[i].IsConnected--; *fStream << "disconnecting port " << dst << ". "; break; @@ -301,7 +301,7 @@ int JackDebugClient::PortDisconnect(jack_port_id_t src) for (i = (fTotalPortNumber - 1); i >= 0; i--) { // We search the record into the history if (fPortList[i].idport == src) { // We found the record in sources if (fPortList[i].IsUnregistered != 0) - *fStream << "!!! ERROR !!! : Disconnecting port " << src << " previoulsy unregistered !" << endl; + *fStream << "!!! ERROR !!! : Disconnecting port " << src << " previously unregistered !" << endl; fPortList[i].IsConnected--; *fStream << "Disconnecting port " << src << ". " << endl; break; diff --git a/common/JackNetTool.h b/common/JackNetTool.h index e664f9fe..99303b88 100644 --- a/common/JackNetTool.h +++ b/common/JackNetTool.h @@ -500,7 +500,7 @@ namespace Jack SERVER_EXPORT void SessionParamsDisplay(session_params_t* params); //display packet header SERVER_EXPORT void PacketHeaderDisplay(packet_header_t* header); - //get the packet type from a sesion parameters + //get the packet type from a session parameters SERVER_EXPORT sync_packet_type_t GetPacketType(session_params_t* params); //set the packet type in a session parameters SERVER_EXPORT int SetPacketType(session_params_t* params, sync_packet_type_t packet_type); diff --git a/dbus/jack_control b/dbus/jack_control index 59730c03..a18b6440 100755 --- a/dbus/jack_control +++ b/dbus/jack_control @@ -155,7 +155,7 @@ def parse_argv(argv): if control_iface.IsStarted(): return (0, "started") else: - return (1, "stoped") + return (1, "stopped") elif arg == 'start': print("--- start") control_iface.StartServer() diff --git a/man/alsa_in.0 b/man/alsa_in.0 index 54742cf6..363e21a3 100644 --- a/man/alsa_in.0 +++ b/man/alsa_in.0 @@ -67,7 +67,7 @@ Set number of periods. See note for period_size. .TP \fB\-q \fI quality\fR .br -Set the quality of the resampler from 0 to 4. can significanly reduce cpu usage. +Set the quality of the resampler from 0 to 4. can significantly reduce cpu usage. .TP \fB\-m \fI max_diff\fR .br diff --git a/waflib/Utils.py b/waflib/Utils.py index b4665c4d..a0cc2a09 100644 --- a/waflib/Utils.py +++ b/waflib/Utils.py @@ -615,7 +615,7 @@ def h_fun(fun): # # The sorting result outcome will be consistent because: # 1. tuples are compared in order of their elements - # 2. optional argument namess are unique + # 2. optional argument names are unique code.extend(sorted(fun.keywords.items())) code.append(h_fun(fun.func)) fun.code = h_list(code) diff --git a/windows/README b/windows/README index 356b9f1a..f7aacde6 100644 --- a/windows/README +++ b/windows/README @@ -28,7 +28,7 @@ But now you can compile JACK using GCC, with MingW. The project is actually orga But for some reasons, you need to compile JACK using a SJLJ version of G++ (available on MingW website). Current GCC/G++ version (3.4.5) doesn't includes SJLJ so you'll have to use another one. -JACK needs the use of SJLJ exceptions instead of DW2 because exceptions are exchanged between DLL's, and DW2 does not allow to throw an exception out of a DLL, so it wouldn't be cought. +JACK needs the use of SJLJ exceptions instead of DW2 because exceptions are exchanged between DLL's, and DW2 does not allow to throw an exception out of a DLL, so it wouldn't be caught. The resources files has been created with ResEdit (ANSI build). VisualStudio uses 'ressource.rc' and 'ressource_vc.h'. The other files are used by MingW. -- cgit v1.2.1