summaryrefslogtreecommitdiff
path: root/libs/ardour/test
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
commit4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch)
treee54104d57d6c2da7840979181368151fd0819c96 /libs/ardour/test
parent297e80e020da94a56984b20782584bb1dd96ea34 (diff)
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/ardour/test')
-rw-r--r--libs/ardour/test/framepos_minus_beats_test.cc10
-rw-r--r--libs/ardour/test/framepos_plus_beats_test.cc10
-rw-r--r--libs/ardour/test/framewalk_to_beats_test.cc8
-rw-r--r--libs/ardour/test/interpolation_test.cc2
-rw-r--r--libs/ardour/test/midi_clock_slave_test.cc4
-rw-r--r--libs/ardour/test/midi_clock_slave_test.h26
-rw-r--r--libs/ardour/test/tempo_test.cc4
7 files changed, 32 insertions, 32 deletions
diff --git a/libs/ardour/test/framepos_minus_beats_test.cc b/libs/ardour/test/framepos_minus_beats_test.cc
index cc6341fb0b..a96fec6531 100644
--- a/libs/ardour/test/framepos_minus_beats_test.cc
+++ b/libs/ardour/test/framepos_minus_beats_test.cc
@@ -46,14 +46,14 @@ FrameposMinusBeatsTest::doubleTempoTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames
@@ -86,7 +86,7 @@ FrameposMinusBeatsTest::doubleTempoTest ()
tempo change (which shouldn't affect anything, since we are just dealing with
beats)
*/
-
+
void
FrameposMinusBeatsTest::doubleTempoWithMeterTest ()
{
@@ -98,14 +98,14 @@ FrameposMinusBeatsTest::doubleTempoWithMeterTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames
diff --git a/libs/ardour/test/framepos_plus_beats_test.cc b/libs/ardour/test/framepos_plus_beats_test.cc
index efc57c5872..7069c54115 100644
--- a/libs/ardour/test/framepos_plus_beats_test.cc
+++ b/libs/ardour/test/framepos_plus_beats_test.cc
@@ -45,14 +45,14 @@ FrameposPlusBeatsTest::doubleTempoTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames
@@ -85,7 +85,7 @@ FrameposPlusBeatsTest::doubleTempoTest ()
tempo change (which shouldn't affect anything, since we are just dealing with
beats)
*/
-
+
void
FrameposPlusBeatsTest::doubleTempoWithMeterTest ()
{
@@ -97,14 +97,14 @@ FrameposPlusBeatsTest::doubleTempoWithMeterTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames
diff --git a/libs/ardour/test/framewalk_to_beats_test.cc b/libs/ardour/test/framewalk_to_beats_test.cc
index bcbd3e089f..501eca894e 100644
--- a/libs/ardour/test/framewalk_to_beats_test.cc
+++ b/libs/ardour/test/framewalk_to_beats_test.cc
@@ -51,14 +51,14 @@ FramewalkToBeatsTest::doubleTempoTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames
@@ -107,7 +107,7 @@ FramewalkToBeatsTest::tripleTempoTest ()
/*
120bpm at bar 1, 240bpm at bar 2, 160bpm at bar 3
-
+
120bpm = 24e3 samples per beat
160bpm = 18e3 samples per beat
240bpm = 12e3 samples per beat
@@ -115,7 +115,7 @@ FramewalkToBeatsTest::tripleTempoTest ()
/*
-
+
120bpm 240bpm 160bpm
0 beats 4 beats 8 beats
0 frames 96e3 frames 144e3 frames
diff --git a/libs/ardour/test/interpolation_test.cc b/libs/ardour/test/interpolation_test.cc
index e8ed22d03b..7a91160e7a 100644
--- a/libs/ardour/test/interpolation_test.cc
+++ b/libs/ardour/test/interpolation_test.cc
@@ -82,7 +82,7 @@ InterpolationTest::linearInterpolationTest ()
}
/*
for (int i=0; i < NUM_SAMPLES; ++i) {
- cout << i << " " << output[i] << endl;
+ cout << i << " " << output[i] << endl;
}
*/
}
diff --git a/libs/ardour/test/midi_clock_slave_test.cc b/libs/ardour/test/midi_clock_slave_test.cc
index 4349df22eb..cea7a06ce9 100644
--- a/libs/ardour/test/midi_clock_slave_test.cc
+++ b/libs/ardour/test/midi_clock_slave_test.cc
@@ -24,11 +24,11 @@ MIDIClock_SlaveTest::testStepResponse ()
start (*parser, start_time);
update_midi_clock (*parser, start_time);
-
+
for (framecnt_t i = 1; i<= 100 * period_size; i++) {
// simulate jitter
framecnt_t input_delta = framecnt_t (one_ppqn_in_frames + 0.1 * (double(g_random_int()) / double (RAND_MAX)) * one_ppqn_in_frames);
-
+
if (i % input_delta == 0) {
update_midi_clock (*parser, start_time + i);
}
diff --git a/libs/ardour/test/midi_clock_slave_test.h b/libs/ardour/test/midi_clock_slave_test.h
index 56bda2ba58..dd046fb8a8 100644
--- a/libs/ardour/test/midi_clock_slave_test.h
+++ b/libs/ardour/test/midi_clock_slave_test.h
@@ -1,16 +1,16 @@
-/*
+/*
* Copyright(C) 2000-2008 Paul Davis
* Author: Hans Baier
- *
+ *
* Evoral is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or(at your option) any later
* version.
- *
+ *
* Evoral is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -39,9 +39,9 @@ class TestSlaveSessionProxy : public ISlaveSessionProxy {
Meter meter;
public:
- TestSlaveSessionProxy() :
- transport_speed (1.0),
- _transport_frame (0),
+ TestSlaveSessionProxy() :
+ transport_speed (1.0),
+ _transport_frame (0),
_frame_time (1000000),
_tempo_map (0),
tempo (120),
@@ -49,14 +49,14 @@ class TestSlaveSessionProxy : public ISlaveSessionProxy {
{
_tempo_map = new TempoMap (FRAME_RATE);
_tempo_map->add_tempo (tempo, Timecode::BBT_Time(1, 1, 0));
- _tempo_map->add_meter (meter, Timecode::BBT_Time(1, 1, 0));
+ _tempo_map->add_meter (meter, Timecode::BBT_Time(1, 1, 0));
}
// Controlling the mock object
void set_period_size (framecnt_t a_size) { _period_size = a_size; }
framecnt_t period_size () const { return _period_size; }
- void next_period () {
- _transport_frame += double(_period_size) * double(transport_speed);
+ void next_period () {
+ _transport_frame += double(_period_size) * double(transport_speed);
_frame_time += _period_size;
}
@@ -68,8 +68,8 @@ class TestSlaveSessionProxy : public ISlaveSessionProxy {
pframes_t frames_since_cycle_start () const { return 0; }
framepos_t frame_time () const { return _frame_time; }
- void request_locate (framepos_t frame, bool with_roll = false) {
- _transport_frame = frame;
+ void request_locate (framepos_t frame, bool with_roll = false) {
+ _transport_frame = frame;
}
void request_transport_speed (const double speed) { transport_speed = speed; }
@@ -86,7 +86,7 @@ class MIDIClock_SlaveTest : public CppUnit::TestFixture, ARDOUR::MIDIClock_Slave
void setUp() {
}
-
+
void tearDown() {
}
diff --git a/libs/ardour/test/tempo_test.cc b/libs/ardour/test/tempo_test.cc
index fa9ad0a520..2cac1fa872 100644
--- a/libs/ardour/test/tempo_test.cc
+++ b/libs/ardour/test/tempo_test.cc
@@ -18,14 +18,14 @@ TempoTest::recomputeMapTest ()
/*
120bpm at bar 1, 240bpm at bar 4
-
+
120bpm = 24e3 samples per beat
240bpm = 12e3 samples per beat
*/
/*
-
+
120bpm 240bpm
0 beats 12 beats
0 frames 288e3 frames