diff options
author | Adrian Knoth <aknoth@google.com> | 2016-02-22 21:01:23 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:13:01 -0500 |
commit | 6fa88273aa779be36dbe17f5d6c8566fcf22366b (patch) | |
tree | cfdf68331401ee0b7317ea23fadd671b644539f2 /tools/jacktest.c | |
parent | 53f1981effd149c13f452e8122bca1992792df83 (diff) |
Spelling correction patch from Debian
Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>
Diffstat (limited to 'tools/jacktest.c')
-rw-r--r-- | tools/jacktest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/jacktest.c b/tools/jacktest.c index 62a6a08376..d75dad5e9e 100644 --- a/tools/jacktest.c +++ b/tools/jacktest.c @@ -10,7 +10,7 @@ jack_port_t *input_port; jack_port_t *output_port; jack_client_t *client; int loopsize = 25000; -int xrun_occured = 0; +int xrun_occurred = 0; int consecutive_xruns = 0; float first_xrun = 0.0f; float last_load = 0.0f; @@ -59,14 +59,14 @@ process (jack_nframes_t nframes, void *arg) printf ("loopsize = %d\n", loopsize); } - if (xrun_occured) { + if (xrun_occurred) { if (consecutive_xruns == 0) { first_xrun = last_load; } consecutive_xruns++; } - xrun_occured = 0; + xrun_occurred = 0; if (consecutive_xruns >= 10) { fprintf (stderr, "Stopping with load = %f (first xrun at %f)\n", last_load, first_xrun); @@ -90,8 +90,8 @@ jack_shutdown (void *arg) int jack_xrun (void *arg) { - fprintf (stderr, "xrun occured with loop size = %d\n", loopsize); - xrun_occured = 1; + fprintf (stderr, "xrun occurred with loop size = %d\n", loopsize); + xrun_occurred = 1; return 0; } |