Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
luzpaz authored and falkTX committed Jan 28, 2023
1 parent 328c589 commit ae9993b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions common/JackDebugClient.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion common/JackNetTool.h
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion dbus/jack_control
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion man/alsa_in.0
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion waflib/Utils.py
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion windows/README
Expand Up @@ -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.

Expand Down

0 comments on commit ae9993b

Please sign in to comment.