mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
provide a real and usable MuteControllable for Routes (so that MIDI can use it)
git-svn-id: svn://localhost/ardour2/branches/3.0@6445 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
18c5d24951
commit
11792ed95d
7 changed files with 52 additions and 59 deletions
|
|
@ -704,15 +704,12 @@ GenericMidiControlProtocol::create_binding (const XMLNode& node)
|
|||
|
||||
mc->bind_midi (channel, ev, detail);
|
||||
|
||||
cerr << "New MC with URI " << uri << " on channel " << (int) channel << " detail = " << (int) detail << endl;
|
||||
|
||||
return mc;
|
||||
}
|
||||
|
||||
void
|
||||
GenericMidiControlProtocol::reset_controllables ()
|
||||
{
|
||||
cerr << "GM::RC\n";
|
||||
Glib::Mutex::Lock lm2 (controllables_lock);
|
||||
|
||||
for (MIDIControllables::iterator iter = controllables.begin(); iter != controllables.end(); ++iter) {
|
||||
|
|
@ -817,10 +814,8 @@ GenericMidiControlProtocol::create_function (const XMLNode& node)
|
|||
return 0;
|
||||
}
|
||||
|
||||
cerr << "New MF with function = " << prop->value() << " on channel " << (int) channel << " detail = " << (int) detail << endl;
|
||||
mf->bind_midi (channel, ev, detail);
|
||||
|
||||
|
||||
return mf;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue