summaryrefslogtreecommitdiff
path: root/libs/midi++2/midi++/mmc.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-06 00:27:03 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-06 00:27:03 +0000
commitff8ea4d2f2443a2b6cfe58025eded7524b5f4bbb (patch)
treea1e71c139996f78742a4942ea54d302cc892593e /libs/midi++2/midi++/mmc.h
parent91850f0eb4ab9f63bc6582d042d5495ea1968031 (diff)
Remove MMC thread protection which is pointless now that only JACK MIDI ports are used for output, which themselves can cope with multi-threaded access.
git-svn-id: svn://localhost/ardour2/branches/3.0@7378 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/midi++/mmc.h')
-rw-r--r--libs/midi++2/midi++/mmc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/midi++2/midi++/mmc.h b/libs/midi++2/midi++/mmc.h
index 61415d39f2..ec48527789 100644
--- a/libs/midi++2/midi++/mmc.h
+++ b/libs/midi++2/midi++/mmc.h
@@ -98,10 +98,8 @@ class MachineControl
byte send_device_id () const { return _send_device_id; }
void enable_send (bool);
void send (MachineControlCommand const &);
- void flush_pending ();
static bool is_mmc (byte *sysex_buf, size_t len);
- static void set_sending_thread (pthread_t);
/* Signals to connect to if you want to run "callbacks"
when certain MMC commands are received.
@@ -260,14 +258,6 @@ class MachineControl
Port* _port;
bool _enable_send; ///< true if MMC sending is enabled
- /** A ringbuffer of MMC commands that were `sent' from the wrong thread, which
- are queued up and sent when flush_pending() is called.
- */
- RingBuffer<MachineControlCommand> _pending;
-
- /** The thread to use for sending MMC commands */
- static pthread_t _sending_thread;
-
void process_mmc_message (Parser &p, byte *, size_t len);
PBD::ScopedConnectionList port_connections; ///< connections to our parser for incoming data
@@ -275,7 +265,6 @@ class MachineControl
int do_locate (byte *, size_t len);
int do_step (byte *, size_t len);
int do_shuttle (byte *, size_t len);
- void send_immediately (MachineControlCommand const &);
void write_track_status (byte *, size_t len, byte reg);
void spp_start (Parser&, nframes_t);