OSC: remove unused overall feedback calls and variables
authorLen Ovens <len@ovenwerks.net>
Sat, 31 Dec 2016 16:01:23 +0000 (08:01 -0800)
committerLen Ovens <len@ovenwerks.net>
Sat, 31 Dec 2016 16:01:23 +0000 (08:01 -0800)
libs/surfaces/osc/osc.cc
libs/surfaces/osc/osc.h

index 4e1ebcea32e61cd600c0ea89b22990980172f7c0..54bc051781a2580d0198609717744e1273cd7819 100644 (file)
@@ -90,7 +90,6 @@ OSC::OSC (Session& s, uint32_t port)
        , _shutdown (false)
        , _osc_server (0)
        , _osc_unix_server (0)
-       , _send_route_changes (true)
        , _debugmode (Off)
        , address_only (false)
        , remote_port ("8000")
@@ -164,19 +163,6 @@ OSC::get_active () const
        return _osc_server != 0;
 }
 
-int
-OSC::set_feedback (bool yn)
-{
-       _send_route_changes = yn;
-       return 0;
-}
-
-bool
-OSC::get_feedback () const
-{
-       return _send_route_changes;
-}
-
 int
 OSC::start ()
 {
@@ -1074,12 +1060,6 @@ OSC::debugmsg (const char *prefix, const char *path, const char* types, lo_arg *
        PBD::info << prefix << ": " << path << ss.str() << endmsg;
 }
 
-void
-OSC::update_clock ()
-{
-
-}
-
 // "Application Hook" Handlers //
 void
 OSC::session_loaded (Session& s)
index 8f219b2db8c24073e2ed5935f378f11f1fd05796..444e3536a4b12d8a2456f06c1efe3c57b7ad94b5 100644 (file)
@@ -81,9 +81,6 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest>
 
        int set_active (bool yn);
        bool get_active () const;
-       int set_feedback (bool yn);
-       bool get_feedback () const;
-
 
        int start ();
        int stop ();
@@ -174,7 +171,6 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest>
        lo_server _osc_unix_server;
        std::string _osc_unix_socket_path;
        std::string _osc_url_file;
-       bool _send_route_changes;
        OSCDebugMode _debugmode;
        bool address_only;
        std::string remote_port;
@@ -575,7 +571,6 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest>
        void notify_routes_added (ARDOUR::RouteList &);
        void notify_vca_added (ARDOUR::VCAList &);
 
-       void update_clock ();
        int cancel_all_solos ();
        bool periodic (void);
        sigc::connection periodic_connection;