summaryrefslogtreecommitdiff
path: root/libs/midi++2/mmc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-11-13 16:55:32 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-11-26 18:22:22 +0200
commitc927eeb9eeed1b3a9ccd9a232df62fb3873ef267 (patch)
treefafab74f1f27bf35334789b3e579fa47a8d95c46 /libs/midi++2/mmc.cc
parentb9be8d2652d8da524eeb5f0e123b0a731d1954cb (diff)
ensure that Ardour recognizes its own MMC device ID as "all-call" when set to 0x7f (127)
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 ffd21994c2..d722a816ee 100644
--- a/libs/midi++2/mmc.cc
+++ b/libs/midi++2/mmc.cc
@@ -284,7 +284,7 @@ MachineControl::process_mmc_message (Parser &, MIDI::byte *msg, size_t len)
cerr << endl;
#endif
- if (msg[1] != 0x7f && msg[1] != _receive_device_id) {
+ if (_receive_device_id != 0x7f && msg[1] != 0x7f && msg[1] != _receive_device_id) {
return;
}