Fix typos

(cherry picked from commit 10553de59b1d381b63a7c275f6cb6456029434f2)
This commit is contained in:
luz paz 2022-06-14 14:49:05 -04:00 committed by Nedko Arnaudov
parent 87be4bcf3c
commit a8b7c6c85f
5 changed files with 10 additions and 10 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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

View File

@ -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)

View File

@ -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.