projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wrap MIDI timecode at 24h
[ardour.git]
/
libs
/
midi++2
/
mmc.cc
diff --git
a/libs/midi++2/mmc.cc
b/libs/midi++2/mmc.cc
index b92e686ce6b753bca71bea99b2b2be0b5fa70c98..0bdb359decc44e808e7e416ed7ad8560fdd313c9 100644
(file)
--- 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;
+ *b++ = _time.hours
% 24
;
*b++ = _time.minutes;
*b++ = _time.seconds;
*b++ = _time.frames;