mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
add explict destructor for Pannable
git-svn-id: svn://localhost/ardour2/branches/3.0@8749 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
373e2c0413
commit
f17e2847b8
2 changed files with 10 additions and 1 deletions
|
|
@ -36,8 +36,11 @@ class Session;
|
||||||
class AutomationControl;
|
class AutomationControl;
|
||||||
class Panner;
|
class Panner;
|
||||||
|
|
||||||
struct Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef {
|
class Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef
|
||||||
|
{
|
||||||
|
public:
|
||||||
Pannable (Session& s);
|
Pannable (Session& s);
|
||||||
|
~Pannable ();
|
||||||
|
|
||||||
boost::shared_ptr<AutomationControl> pan_azimuth_control;
|
boost::shared_ptr<AutomationControl> pan_azimuth_control;
|
||||||
boost::shared_ptr<AutomationControl> pan_elevation_control;
|
boost::shared_ptr<AutomationControl> pan_elevation_control;
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
#include "pbd/error.h"
|
#include "pbd/error.h"
|
||||||
#include "pbd/convert.h"
|
#include "pbd/convert.h"
|
||||||
|
|
||||||
|
#include "ardour/debug.h"
|
||||||
#include "ardour/automation_control.h"
|
#include "ardour/automation_control.h"
|
||||||
#include "ardour/automation_list.h"
|
#include "ardour/automation_list.h"
|
||||||
#include "ardour/pannable.h"
|
#include "ardour/pannable.h"
|
||||||
|
|
@ -59,6 +60,11 @@ Pannable::Pannable (Session& s)
|
||||||
pan_lfe_control->alist()->automation_state_changed.connect_same_thread (*this, boost::bind (&Pannable::control_auto_state_changed, this, _1));
|
pan_lfe_control->alist()->automation_state_changed.connect_same_thread (*this, boost::bind (&Pannable::control_auto_state_changed, this, _1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pannable::~Pannable ()
|
||||||
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::Destruction, string_compose ("pannable @ %1 destructor\n", this));
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Pannable::control_auto_state_changed (AutoState new_state)
|
Pannable::control_auto_state_changed (AutoState new_state)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue