Browse Source

Mass-fix spelling errors

Flagged by the Debian QA tool.

Mostly automatic search-n-replace of the mistakes flagged.
tags/v1.9.13
Adrian Knoth 3 years ago
parent
commit
6ccfdc1058
16 changed files with 24 additions and 24 deletions
  1. +1
    -1
      common/JackInternalSessionLoader.cpp
  2. +1
    -1
      common/JackMidiRawInputWriteQueue.cpp
  3. +1
    -1
      common/JackPort.cpp
  4. +1
    -1
      common/jack/jack.h
  5. +6
    -6
      common/netjack.c
  6. +2
    -2
      common/netjack_packet.c
  7. +1
    -1
      dbus/controller_iface_patchbay.c
  8. +1
    -1
      doxyfile.in
  9. +1
    -1
      example-clients/alsa_in.c
  10. +1
    -1
      example-clients/alsa_out.c
  11. +1
    -1
      example-clients/netsource.c
  12. +1
    -1
      man/alsa_in.0
  13. +1
    -1
      man/jack_simple_client.0
  14. +1
    -1
      man/jackd.0
  15. +3
    -3
      tests/test.cpp
  16. +1
    -1
      windows/JackWinNamedPipeClientChannel.cpp

+ 1
- 1
common/JackInternalSessionLoader.cpp View File

@@ -71,7 +71,7 @@ int JackInternalSessionLoader::Load(const char* file)
* Therefore only compare the first letter of the command.
*/
} else {
jack_error("JACK internal session file %s line %u contains unkown command '%s'. Ignoring the line!", file, linenr, line.c_str());
jack_error("JACK internal session file %s line %u contains unknown command '%s'. Ignoring the line!", file, linenr, line.c_str());
}
}



+ 1
- 1
common/JackMidiRawInputWriteQueue.cpp View File

@@ -83,7 +83,7 @@ JackMidiRawInputWriteQueue::HandleEventLoss(jack_midi_event_t *event)
{
jack_error("JackMidiRawInputWriteQueue::HandleEventLoss - A %d byte MIDI "
"event scheduled for frame '%d' could not be processed because "
"the write queue cannot accomodate an event of that size. The "
"the write queue cannot accommodate an event of that size. The "
"event has been discarded.", event->size, event->time);
}



+ 1
- 1
common/JackPort.cpp View File

@@ -97,7 +97,7 @@ void JackPort::SetLatency(jack_nframes_t nframes)
fLatency = nframes;

/* setup the new latency values here,
* so we dont need to change the backend codes.
* so we don't need to change the backend codes.
*/
if (fFlags & JackPortIsOutput) {
fCaptureLatency.min = nframes;


+ 1
- 1
common/jack/jack.h View File

@@ -1082,7 +1082,7 @@ size_t jack_port_type_get_buffer_size (jack_client_t *client, const char *port_t
* expressed a min/max pair.
*
* In most common setups, the minimum and maximum latency
* are the same, but this design accomodates more complex
* are the same, but this design accommodates more complex
* routing, and allows applications (and thus users) to
* detect cases where routing is creating an anomalous
* situation that may either need fixing or more


+ 6
- 6
common/netjack.c View File

@@ -199,7 +199,7 @@ int netjack_wait( netjack_driver_state_t *netj )
//XXX: hmm... i need to remember why resync_threshold wasnt right.
//if( offset < netj->resync_threshold )
if( offset < 10 ) {
// ok. dont do nothing. we will run without data.
// ok. don't do nothing. we will run without data.
// this seems to be one or 2 lost packets.
//
// this can also be reordered packet jitter.
@@ -283,7 +283,7 @@ int netjack_wait( netjack_driver_state_t *netj )

netj->running_free = 1;

// when we really dont see packets.
// when we really don't see packets.
// reset source address. and open possibility for new master.
// maybe dsl reconnect. Also restart of netsource without fix
// reply address changes port.
@@ -597,7 +597,7 @@ netjack_driver_state_t *netjack_init (netjack_driver_state_t *netj,

// Fill in netj values.
// might be subject to autoconfig...
// so dont calculate anything with them...
// so don't calculate anything with them...

netj->sample_rate = sample_rate;
netj->period_size = period_size;
@@ -697,7 +697,7 @@ netjack_startup( netjack_driver_state_t *netj )
socklen_t address_size = sizeof (struct sockaddr_in);
#endif
//jack_info ("Waiting for an incoming packet !!!");
//jack_info ("*** IMPORTANT *** Dont connect a client to jackd until the driver is attached to a clock source !!!");
//jack_info ("*** IMPORTANT *** Don't connect a client to jackd until the driver is attached to a clock source !!!");

while(1) {
if( ! netjack_poll( netj->sockfd, 1000 ) ) {
@@ -788,7 +788,7 @@ netjack_startup( netjack_driver_state_t *netj )

if( netj->bitdepth == CELT_MODE ) {
// celt mode.
// TODO: this is a hack. But i dont want to change the packet header.
// TODO: this is a hack. But i don't want to change the packet header.
netj->resample_factor = (netj->resample_factor * netj->period_size * 1024 / netj->sample_rate / 8) & (~1);
netj->resample_factor_up = (netj->resample_factor_up * netj->period_size * 1024 / netj->sample_rate / 8) & (~1);

@@ -796,7 +796,7 @@ netjack_startup( netjack_driver_state_t *netj )
netj->net_period_up = netj->resample_factor_up;
} else if( netj->bitdepth == OPUS_MODE ) {
// Opus mode.
// TODO: this is a hack. But i dont want to change the packet header, either
// TODO: this is a hack. But i don't want to change the packet header, either
netj->net_period_down = (netj->resample_factor * netj->period_size * 1024 / netj->sample_rate / 8) & (~1);
netj->net_period_up = (netj->resample_factor_up * netj->period_size * 1024 / netj->sample_rate / 8) & (~1);
} else {


+ 2
- 2
common/netjack_packet.c View File

@@ -286,7 +286,7 @@ cache_packet_reset (cache_packet *pack)
int i;
pack->valid = 0;

// XXX: i dont think this is necessary here...
// XXX: i don't think this is necessary here...
// fragement array is cleared in _set_framecnt()

for (i = 0; i < pack->num_fragments; i++)
@@ -318,7 +318,7 @@ cache_packet_add_fragment (cache_packet *pack, char *packet_buf, int rcv_len)
jack_nframes_t framecnt = ntohl (pkthdr->framecnt);

if (framecnt != pack->framecnt) {
jack_error ("errror. framecnts dont match");
jack_error ("error. framecnts don't match");
return;
}



+ 1
- 1
dbus/controller_iface_patchbay.c View File

@@ -1528,7 +1528,7 @@ jack_controller_graph_order_callback(
if (patchbay_ptr->graph.version == 1)
{
/* we have empty initial graph, increment graph version,
so we dont do jack_get_ports() again,
so we don't do jack_get_ports() again,
on next next graph change */
patchbay_ptr->graph.version++;
}


+ 1
- 1
doxyfile.in View File

@@ -657,7 +657,7 @@ EXAMPLE_PATH =
EXAMPLE_PATTERNS =

# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
# searched for input files to be used with the \include or \don'tinclude
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.



+ 1
- 1
example-clients/alsa_in.c View File

@@ -106,7 +106,7 @@ alsa_format_t formats[] = {
#define NUMFORMATS (sizeof(formats)/sizeof(formats[0]))
int format=0;

// Alsa stuff... i dont want to touch this bullshit in the next years.... please...
// Alsa stuff... i don't want to touch this bullshit in the next years.... please...

static int xrun_recovery(snd_pcm_t *handle, int err) {
// printf( "xrun !!!.... %d\n", err );


+ 1
- 1
example-clients/alsa_out.c View File

@@ -106,7 +106,7 @@ alsa_format_t formats[] = {
#define NUMFORMATS (sizeof(formats)/sizeof(formats[0]))
int format=0;

// Alsa stuff... i dont want to touch this bullshit in the next years.... please...
// Alsa stuff... i don't want to touch this bullshit in the next years.... please...

static int xrun_recovery(snd_pcm_t *handle, int err) {
// printf( "xrun !!!.... %d\n", err );


+ 1
- 1
example-clients/netsource.c View File

@@ -244,7 +244,7 @@ alloc_ports (int n_capture_audio, int n_playback_audio, int n_capture_midi, int
/**
* The Sync callback... sync state is set elsewhere...
* we will see if this is working correctly.
* i dont really believe in it yet.
* i don't really believe in it yet.
*/
int
sync_cb (jack_transport_state_t state, jack_position_t *pos, void *arg)


+ 1
- 1
man/alsa_in.0 View File

@@ -90,7 +90,7 @@ However most CPU time is spent in the resampling so this will not be much.
If you have a PCI card, then the default value (15) of this parameter is too high for \-p64 \-n2... Setting it to 5 should fix that.
Be aware that setting this parameter too low, lets the hf noise on the delay measurement come through onto the resamplerate, so this
might degrade the quality of the output. (but its a threshold value, and it has been chosen, to mask the noise of a USB card,
which has an amplitude which is 50 times higher than that of a PCI card, so 5 wont loose you any quality on a PCI card)
which has an amplitude which is 50 times higher than that of a PCI card, so 5 won't lose you any quality on a PCI card)

.SH AUTHOR
Torben Hohn


+ 1
- 1
man/jack_simple_client.0 View File

@@ -1,7 +1,7 @@
.TH JACK_CONNECT "1" "!DATE!" "!VERSION!"
.SH NAME
jack_simple_client \- The JACK Audio Connection Kit example client
.SH SYNOPSYS
.SH SYNOPSIS
.B jack_simple_client
client-name
.PP


+ 1
- 1
man/jackd.0 View File

@@ -370,7 +370,7 @@ Whether to use Autoconfig, or just start. (default: true)
Send packets N times (default: 1)
.TP
\fB\-e, \-\-native\-endian \fIint\fR
Dont convert samples to network byte order. (default: false)
Don't convert samples to network byte order. (default: false)
.TP
\fB\-J, \-\-jitterval \fIint\fR
attempted jitterbuffer microseconds on master (default: 0)


+ 3
- 3
tests/test.cpp View File

@@ -1576,15 +1576,15 @@ int main (int argc, char *argv[])
* (This mode seems to be problematic in standard jack version 0.100. It seems that nobody
* is used to apply this mode because the tie mode doesn't work at all. A patch seems difficult to produce
* in this version of jack. Tie mode work well in MP version.)
* Test some basic thinks (tie with 2 differents client, tie non-owned ports...)
* Test some basic thinks (tie with 2 different client, tie non-owned ports...)
* Tie client1.in1 and client1.out1 ports, and make some data test to check the validity of the tie.
*
*/
Log("Testing tie mode...\n");
if (jack_port_tie(input_port1, output_port2) != 0) {
Log("not possible to tie two ports from two differents clients... ok\n");
Log("not possible to tie two ports from two different clients... ok\n");
} else {
printf("!!! ERROR !!! port_tie has allowed a connexion between two differents clients !\n");
printf("!!! ERROR !!! port_tie has allowed a connexion between two different clients !\n");
jack_port_untie(output_port2);
}
Log("Testing connections datas in tie mode...\n");


+ 1
- 1
windows/JackWinNamedPipeClientChannel.cpp View File

@@ -152,7 +152,7 @@ bool JackWinNamedPipeClientChannel::Execute()
return true;

error:
// Close the pipes, server wont be able to create them otherwise.
// Close the pipes, server won't be able to create them otherwise.
fNotificationListenPipe.Close();
fRequest->Close();
fClient->ShutDown(jack_status_t(JackFailure | JackServerError), JACK_SERVER_FAILURE);


Loading…
Cancel
Save