Ardour  8.12
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 #ifndef __ardour_audio_track_h__
23 #define __ardour_audio_track_h__
24 
26 #include "ardour/track.h"
27 
28 namespace ARDOUR {
29 
30 class Session;
31 class AudioPlaylist;
32 class RouteGroup;
33 class AudioFileSource;
34 
36 {
37  public:
38  AudioTrack (Session&, std::string name = "", TrackMode m = Normal);
40 
41  MonitorState get_input_monitoring_state (bool recording, bool talkback) const;
42 
44  void unfreeze ();
45 
46  bool bounceable (std::shared_ptr<Processor>, bool include_endpoint) const;
47 
48  int export_stuff (BufferSet& bufs, samplepos_t start_sample, samplecnt_t nframes,
49  std::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze,
51 
52  int set_state (const XMLNode&, int version);
53 
54  std::shared_ptr<AudioFileSource> write_source (uint32_t n = 0);
55 
56  protected:
57  XMLNode& state (bool save_template) const;
58 
59  private:
63 };
64 
65 } // namespace ARDOUR
66 
67 #endif /* __ardour_audio_track_h__ */
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