summaryrefslogtreecommitdiff
path: root/libs/midi++2/mmc.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-06-10 04:12:08 +0200
committerRobin Gareus <robin@gareus.org>2014-06-10 04:12:08 +0200
commitc0376fe7b3eae7dd167a37b2d68087e0cda38832 (patch)
tree344f832a6ca45d73361e21be8a0e4f9970bc85d9 /libs/midi++2/mmc.cc
parent7df663acf2fad9b7d21ead84b393da006ed57b97 (diff)
really fix sending MIDI timecode.
Diffstat (limited to 'libs/midi++2/mmc.cc')
-rw-r--r--libs/midi++2/mmc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/mmc.cc b/libs/midi++2/mmc.cc
index c34304dd08..b49585ccd2 100644
--- a/libs/midi++2/mmc.cc
+++ b/libs/midi++2/mmc.cc
@@ -710,7 +710,7 @@ MachineControlCommand::fill_buffer (MachineControl* mmc, MIDI::byte* b) const
if (_command == MachineControl::cmdLocate) {
*b++ = 0x6; // byte count
*b++ = 0x1; // "TARGET" subcommand
- *b++ = _time.hours & 0xff;
+ *b++ = _time.hours & 0x7f;
*b++ = _time.minutes;
*b++ = _time.seconds;
*b++ = _time.frames;