class Speakers;
class TempoMap;
class Track;
+class VCAManager;
class WindowsVSTPlugin;
extern void setup_enum_writer ();
void maybe_enable_record ();
void disable_record (bool rt_context, bool force = false);
void step_back_from_record ();
-
+
void set_all_tracks_record_enabled(bool);
void maybe_write_autosave ();
void reconnect_ltc_input ();
void reconnect_ltc_output ();
+ VCAManager& vca_manager() { return *_vca_manager; }
+
protected:
friend class AudioEngine;
void set_block_size (pframes_t nframes);
static const uint32_t session_end_shift;
std::string _template_state_dir;
+
+ VCAManager* _vca_manager;
};
#include "ardour/track.h"
#include "ardour/user_bundle.h"
#include "ardour/utils.h"
+#include "ardour/vca_manager.h"
#include "midi++/port.h"
#include "midi++/mmc.h"
, _scene_changer (0)
, _midi_ports (0)
, _mmc (0)
+ , _vca_manager (0)
{
uint32_t sr = 0;
delete midi_clock;
delete _tempo_map;
+ delete _vca_manager;
/* clear event queue, the session is gone, nobody is interested in
* those anymore, but they do leak memory if not removed
#include "ardour/tempo.h"
#include "ardour/ticker.h"
#include "ardour/user_bundle.h"
+#include "ardour/vca_manager.h"
#include "control_protocol/control_protocol.h"
set_next_event ();
_all_route_group->set_active (true, this);
interpolation.add_channel_to (0, 0);
+ _vca_manager = new VCAManager (*this);
if (config.get_use_video_sync()) {
waiting_for_sync_offset = true;