Ardour  9.0-pre0-582-g084a23a80d
audio_track.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2011 David Robillard <d@drobilla.net>
3  * Copyright (C) 2006-2017 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
5  * Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #pragma once
23 
25 #include "ardour/track.h"
26 
27 namespace ARDOUR {
28 
29 class Session;
30 class AudioPlaylist;
31 class RouteGroup;
32 class AudioFileSource;
33 
35 {
36  public:
37  AudioTrack (Session&, std::string name = "", TrackMode m = Normal);
39 
40  MonitorState get_input_monitoring_state (bool recording, bool talkback) const;
41 
43  void unfreeze ();
44 
45  bool bounceable (std::shared_ptr<Processor>, bool include_endpoint) const;
46 
47  int export_stuff (BufferSet& bufs, samplepos_t start_sample, samplecnt_t nframes,
48  std::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze,
50 
51  int set_state (const XMLNode&, int version);
52 
53  std::shared_ptr<AudioFileSource> write_source (uint32_t n = 0);
54 
55  protected:
56  XMLNode& state (bool save_template) const;
57 
58  private:
62 };
63 
64 } // namespace ARDOUR
65 
int set_state(const XMLNode &, int version)
int export_stuff(BufferSet &bufs, samplepos_t start_sample, samplecnt_t nframes, std::shared_ptr< Processor > endpoint, bool include_endpoint, bool for_export, bool for_freeze, MidiNoteTracker &)
void freeze_me(InterThreadInfo &)
AudioTrack(Session &, std::string name="", TrackMode m=Normal)
int deprecated_use_diskstream_connections()
void set_state_part_three()
bool bounceable(std::shared_ptr< Processor >, bool include_endpoint) const
std::shared_ptr< AudioFileSource > write_source(uint32_t n=0)
XMLNode & state(bool save_template) const
MonitorState get_input_monitoring_state(bool recording, bool talkback) const
Definition: xml++.h:114
GtkImageIconNameData name
Definition: gtkimage.h:6
#define LIBARDOUR_API
Temporal::samplecnt_t samplecnt_t
Temporal::samplepos_t samplepos_t