diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-04-19 02:11:11 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-04-19 02:11:11 +0000 |
commit | 85c223da0dac610566e6461585892be1d2708660 (patch) | |
tree | e0d6800acb275cc4bdcda9fcb9a6352b1b6c00c5 /libs/ardour/ardour/region.h | |
parent | accc73a8c15ce9b86db269a52a132a88e9f17da2 (diff) |
* first prototype for track based channel selection works
git-svn-id: svn://localhost/ardour2/branches/3.0@3267 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index fb1220e996..00315846b2 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -98,6 +98,16 @@ class Region : public Automatable, public boost::enable_shared_from_this<Region> const DataType& data_type() const { return _type; } + /** + * Thats how the region parameters play together: + * <PRE> + * |------------------------------------------------------------------- track + * |..........[------------------].....| region + * |-----------------------------| _position + * |------------------| _length + * |----------| _start + * </PRE> + */ nframes_t position () const { return _position; } nframes_t start () const { return _start; } nframes_t length() const { return _length; } |