really fix sending MIDI timecode.
[ardour.git] / libs / midi++2 / mmc.cc
index c34304dd0848c4ebe95bfc5105585da38d0e8eb7..b49585ccd2d68cf88edf5690282693e605bc8857 100644 (file)
@@ -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;