summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/mackie_control_protocol_poll.cc
diff options
context:
space:
mode:
authorJohn Anderson <ardour@semiosix.com>2007-07-19 22:07:10 +0000
committerJohn Anderson <ardour@semiosix.com>2007-07-19 22:07:10 +0000
commit4c12c98e338dd88e7b05b7e47133f91c3e3bbc06 (patch)
treeb4c58bcba79696bcaf453cff5441d6caff417f85 /libs/surfaces/mackie/mackie_control_protocol_poll.cc
parent47add43cd028855cda2292bef9dcde607f948490 (diff)
Jog Wheel Fun:
- When ffwd/rew is pressed, wheel controls speed - Zoom button allows jog wheel to zoom - Scrub button cycles jog from scrub to shuttle to whatever it was before git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2155 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/mackie_control_protocol_poll.cc')
-rw-r--r--libs/surfaces/mackie/mackie_control_protocol_poll.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol_poll.cc b/libs/surfaces/mackie/mackie_control_protocol_poll.cc
index 6ae2da071e..a9e946cd7f 100644
--- a/libs/surfaces/mackie/mackie_control_protocol_poll.cc
+++ b/libs/surfaces/mackie/mackie_control_protocol_poll.cc
@@ -55,8 +55,6 @@ void * MackieControlProtocol::monitor_work()
{
if ( poll_ports() )
{
- cout << "--------------------------------------" << endl;
- cout << "MackieControlProtocol::read_ports _ports: " << _ports.size() << ", nfds: " << nfds << endl;
try { read_ports(); }
catch ( exception & e ) {
cout << "MackieControlProtocol::poll_ports caught exception: " << e.what() << endl;
@@ -66,6 +64,9 @@ void * MackieControlProtocol::monitor_work()
}
// poll for automation data from the routes
poll_automation();
+
+ // check if we need to stop scrubbing
+ _jog_wheel.check_scrubbing();
}
catch ( exception & e )
{