diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-06-08 03:58:29 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-06-08 03:58:29 +0000 |
commit | c722a425530916076e187a2685eb8d8a17d666f5 (patch) | |
tree | b459e02ec0a39bbc843fcc2fcef01141d4a7340a /libs/surfaces/tranzport/tranzport_control_protocol.h | |
parent | f03a1dbe0fd39348cf9fb3b62e65914c32720b7c (diff) |
Updated tranzport to use Glib::Mutex. Up'd libpbd to version 4.0.0.
git-svn-id: svn://localhost/ardour2/trunk@573 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/tranzport/tranzport_control_protocol.h')
-rw-r--r-- | libs/surfaces/tranzport/tranzport_control_protocol.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/surfaces/tranzport/tranzport_control_protocol.h b/libs/surfaces/tranzport/tranzport_control_protocol.h index 0311140f8c..44045f6834 100644 --- a/libs/surfaces/tranzport/tranzport_control_protocol.h +++ b/libs/surfaces/tranzport/tranzport_control_protocol.h @@ -4,10 +4,11 @@ #include <vector> #include <sys/time.h> -#include <pbd/lockmonitor.h> #include <pthread.h> #include <usb.h> +#include <glibmm/thread.h> + #include <ardour/types.h> #include "control_protocol.h" @@ -95,7 +96,7 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol DisplayMode display_mode; ARDOUR::gain_t gain_fraction; - PBD::Lock update_lock; + Glib::Mutex update_lock; char current_screen[2][20]; char pending_screen[2][20]; bool lights[7]; @@ -112,7 +113,7 @@ class TranzportControlProtocol : public ARDOUR::ControlProtocol struct timeval last_wheel_motion; int last_wheel_dir; - PBD::Lock io_lock; + Glib::Mutex io_lock; int open (); int read (uint32_t timeout_override = 0); |