20 #ifndef __ardour_types_h__
21 #define __ardour_types_h__
26 #include <boost/shared_ptr.hpp>
27 #include <sys/types.h>
33 #include "timecode/bbt_time.h"
34 #include "timecode/time.h"
85 typedef std::map<boost::shared_ptr<ARDOUR::Region>,AudioIntervalResult>
AudioIntervalMap;
87 typedef std::list<boost::shared_ptr<Region> >
RegionList;
251 if (type != other.
type) {
return false; }
257 return bbt == other.
bbt;
270 return timecode.hours != 0 || timecode.minutes != 0 ||
271 timecode.seconds != 0 || timecode.frames != 0;
273 return bbt.bars != 0 || bbt.beats != 0 || bbt.ticks != 0;
293 AudioRange (framepos_t s, framepos_t e, uint32_t i) : start (s), end (e) , id (i) {}
295 framecnt_t
length() {
return end - start + 1; }
298 return start == other.
start && end == other.
end &&
id == other.
id;
302 return start == other.
start && end == other.
end;
315 MusicRange (Timecode::BBT_Time& s, Timecode::BBT_Time& e, uint32_t i)
316 : start (s), end (e), id (i) {}
319 return start == other.
start && end == other.
end &&
id == other.
id;
323 return start == other.
start && end == other.
end;
536 typedef std::vector<boost::shared_ptr<Bundle> >
BundleList;
646 std::istream&
operator>>(std::istream& o, Timecode::TimecodeFormat& sf);
666 std::ostream&
operator<<(std::ostream& o,
const Timecode::TimecodeFormat& sf);
int format_data_width(ARDOUR::SampleFormat)
Force all events to a certain channel.
RouteProcessorChange(Type t, bool m)
bool operator==(AnyTime const &other) const
AudioRange(framepos_t s, framepos_t e, uint32_t i)
AutoConnectOption output_ac
RouteProcessorChange(Type t)
std::list< std::pair< frameoffset_t, frameoffset_t > > AudioIntervalResult
Always round up, even if on a division.
meter the input IO, regardless of what is going through the route
AutoStyle string_to_auto_style(std::string)
meter what is going through the route
bool meter_visibly_changed
std::ostream & operator<<(std::ostream &o, const ARDOUR::SampleFormat &sf)
std::map< boost::shared_ptr< ARDOUR::Region >, AudioIntervalResult > AudioIntervalMap
we leave monitoring to the audio hardware
std::string auto_state_to_string(AutoState)
enum ARDOUR::IOChange::Type type
std::vector< boost::shared_ptr< Bundle > > BundleList
std::list< framepos_t > AnalysisFeatureList
Round down only if necessary.
AutoConnectOption input_ac
uint32_t requested_physical_out
bool equal(const MusicRange &other) const
RegionSelectionAfterSplit
std::list< boost::shared_ptr< Region > > RegionList
MusicRange(Timecode::BBT_Time &s, Timecode::BBT_Time &e, uint32_t i)
std::istream & operator>>(std::istream &o, ARDOUR::SampleFormat &sf)
bool operator==(const MusicRange &other) const
static ARDOUR::framepos_t track_frame_to_session_frame(ARDOUR::framepos_t track_frame, double speed)
static ARDOUR::framepos_t session_frame_to_track_frame(ARDOUR::framepos_t session_frame, double speed)
uint32_t requested_physical_in
bool operator==(const AudioRange &other) const
bool equal(const AudioRange &other) const
OverlapType coverage(T sa, T ea, T sb, T eb)
std::list< boost::weak_ptr< Route > > WeakRouteList
Pass through all channel information unmodified.
Evoral::OverlapType coverage(framepos_t s, framepos_t e) const
uint32_t master_out_channels
std::string auto_style_to_string(AutoStyle)
static const framepos_t max_framepos
Round up only if necessary.
static const framecnt_t max_framecnt
AutoState string_to_auto_state(std::string)
std::list< boost::shared_ptr< Route > > RouteList
std::vector< boost::shared_ptr< Source > > SourceList
Always round down, even if on a division.
std::vector< std::string > paths
static const layer_t max_layer
Ignore events on certain channels.