LTC Slave, add support for variable framerates
[ardour.git] / libs / surfaces / mackie / mackie_control_protocol_poll.cc
index 06aafc59654f42174915e13ca2b74b3a746f7133..66c80c9a8b2473f02d6ff5deeec2f0cc9fd54573 100644 (file)
@@ -25,57 +25,3 @@ using namespace std;
 using namespace Mackie;
 using namespace PBD;
 
-const char * MackieControlProtocol::default_port_name = "mcu";
-
-bool MackieControlProtocol::probe()
-{
-       return true;
-}
-
-void MackieControlProtocol::handle_port_inactive( SurfacePort * port )
-{
-       // port gone away. So stop polling it ASAP
-       {
-               // delete the port instance
-               Glib::Mutex::Lock lock( update_mutex );
-               MackiePorts::iterator it = find( _ports.begin(), _ports.end(), port );
-               if ( it != _ports.end() )
-               {
-                       delete *it;
-                       _ports.erase( it );
-               }
-       }
-
-       // TODO all the rebuilding of surfaces and so on
-}
-
-void MackieControlProtocol::handle_port_active (SurfacePort *)
-{
-       // no need to re-add port because it was already added
-       // during the init phase. So just update the local surface
-       // representation and send the representation to 
-       // all existing ports
-       
-       // TODO update bank size
-       
-       // TODO rebuild surface, to have new units
-       
-       // finally update session state to the surface
-       // TODO but this is also done in set_active, and
-       // in fact update_surface won't execute unless
-#ifdef DEBUG
-       cout << "update_surface in handle_port_active" << endl;
-#endif
-       // _active == true
-       update_surface();
-}
-
-void MackieControlProtocol::handle_port_init (Mackie::SurfacePort *)
-{
-#ifdef DEBUG
-       cout << "MackieControlProtocol::handle_port_init" << endl;
-#endif
-#ifdef DEBUG
-       cout << "MackieControlProtocol::handle_port_init finish" << endl;
-#endif
-}