diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/midi++2/mtc.cc | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/midi++2/mtc.cc')
-rw-r--r-- | libs/midi++2/mtc.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/midi++2/mtc.cc b/libs/midi++2/mtc.cc index e2a018ca51..f23c6d832c 100644 --- a/libs/midi++2/mtc.cc +++ b/libs/midi++2/mtc.cc @@ -95,13 +95,13 @@ Parser::process_mtc_quarter_frame (MIDI::byte *msg) { int which_quarter_frame = (msg[1] & 0xf0) >> 4; - /* Is it an expected frame? - Remember, the first can be frame 7 or frame 0, + /* Is it an expected frame? + Remember, the first can be frame 7 or frame 0, depending on the direction of the MTC generator ... */ #ifdef DEBUG_MTC - cerr << "MTC: (state = " << _mtc_running << ") " + cerr << "MTC: (state = " << _mtc_running << ") " << which_quarter_frame << " vs. " << expected_mtc_quarter_frame_code << " consecutive ? " << consecutive_qtr_frame_cnt << endl; @@ -141,7 +141,7 @@ Parser::process_mtc_quarter_frame (MIDI::byte *msg) cerr << "Send MTC status as " << _mtc_running << endl; #endif mtc_status (_mtc_running); - } + } switch (_mtc_running) { case MTC_Forward: @@ -177,7 +177,7 @@ Parser::process_mtc_quarter_frame (MIDI::byte *msg) consecutive_qtr_frame_cnt = 0; #ifdef DEBUG_MTC - cerr << "MTC: (state = " << _mtc_running << ") " + cerr << "MTC: (state = " << _mtc_running << ") " << which_quarter_frame << " vs. " << expected_mtc_quarter_frame_code << endl; #endif @@ -272,11 +272,11 @@ Parser::process_mtc_quarter_frame (MIDI::byte *msg) _qtr_mtc_time[3] |= msg[1] & 0xf; break; - case 7: + case 7: /* last quarter frame msg has the MS bit of the hour in bit 0, and the SMPTE FPS type - in bits 5 and 6 + in bits 5 and 6 */ _qtr_mtc_time[3] |= ((msg[1] & 0x1) << 4); @@ -288,7 +288,7 @@ Parser::process_mtc_quarter_frame (MIDI::byte *msg) abort(); /*NOTREACHED*/ break; - } + } #ifdef DEBUG_MTC cerr << "Emit MTC Qtr\n"; |