13
0

fix build process to avoid mismatching size/layout of AudioEngine object; use a slightly more efficient way to access the engine's process_lock from within io.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@6855 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-04-03 15:53:19 +00:00
parent 3104041e67
commit 7151d28ae3
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,11 @@
#ifndef __ardour_audioengine_h__
#define __ardour_audioengine_h__
#ifdef WAF_BUILD
#include "libardour-config.h"
#endif
#include <iostream>
#include <list>
#include <set>
#include <cmath>

View File

@ -59,7 +59,7 @@ extern "C" int isnan (double);
extern "C" int isinf (double);
#endif
#define BLOCK_PROCESS_CALLBACK() Glib::Mutex::Lock em (_session.engine().process_lock())
#define BLOCK_PROCESS_CALLBACK() Glib::Mutex::Lock em (AudioEngine::instance()->process_lock())
using namespace std;
using namespace ARDOUR;