prevent x-thread calling of ARDOUR_UI::parameter_changed()
git-svn-id: svn://localhost/ardour2/trunk@1342 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b2e7ca288a
commit
d1f5033e5e
|
@ -744,6 +744,8 @@ ARDOUR_UI::set_meter_falloff (MeterFalloff val)
|
||||||
void
|
void
|
||||||
ARDOUR_UI::parameter_changed (const char* parameter_name)
|
ARDOUR_UI::parameter_changed (const char* parameter_name)
|
||||||
{
|
{
|
||||||
|
ENSURE_GUI_THREAD (bind (mem_fun (*this, &ARDOUR_UI::parameter_changed), parameter_name));
|
||||||
|
|
||||||
#define PARAM_IS(x) (!strcmp (parameter_name, (x)))
|
#define PARAM_IS(x) (!strcmp (parameter_name, (x)))
|
||||||
|
|
||||||
if (PARAM_IS ("slave-source")) {
|
if (PARAM_IS ("slave-source")) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __ardour_svn_revision_h__
|
#ifndef __ardour_svn_revision_h__
|
||||||
#define __ardour_svn_revision_h__
|
#define __ardour_svn_revision_h__
|
||||||
static const char* ardour_svn_revision = "1266";
|
static const char* ardour_svn_revision = "1341";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user