a) dynamically loadable control surface support

b) move tranzport and generic midi into separate dirs under "surfaces"


git-svn-id: svn://localhost/trunk/ardour2@442 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2006-04-05 00:21:43 +00:00
parent f7c82c6911
commit 9ae0f6cbee
20 changed files with 356 additions and 293 deletions

View File

@@ -25,7 +25,7 @@
#include <pbd/pthread_utils.h>
using std::string;
using namespace std;
typedef std::map<string,pthread_t> ThreadMap;
static ThreadMap all_threads;
@@ -43,6 +43,8 @@ pthread_create_and_store (string name, pthread_t *thread, pthread_attr_t *attr,
{
int ret;
cerr << "Creating thread " << name << endl;
if ((ret = pthread_create (thread, attr, start_routine, arg)) == 0) {
std::pair<string,pthread_t> newpair;
newpair.first = name;