summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-07-13 00:26:28 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-07-13 00:26:28 +0000
commit88beef2e93d26d28467fe151f5ef2972d0ca9169 (patch)
treeca2460f7e8fa7dd87d2ba79301d8aa8fc7314479 /libs/ardour/ardour/location.h
parent402cc384ced6cb152c8abe4294009fe0de0a6dea (diff)
merge pre- and post-fader processor boxes; start removing Placement (not finished) ; add -DWAF_BUILD and use per-directory foobar-config.h to correctly pick up configure-time settings like HAVE_OGG ; check for libgiomm (part of upgrade to newer gtk stack); 32 bit marker reload fix from 2.X; audiounit IO config cache fix from 2.X; multi-add route template fix from 2.X; plugin GUI delete fix from 2.X; solo button labels are A or P for listen mode
git-svn-id: svn://localhost/ardour2/branches/3.0@5344 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index 5ee565fc1e..b008a62f18 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -52,8 +52,8 @@ class Location : public PBD::StatefulDestructible
IsStart = 0x80
};
- Location (nframes_t sample_start,
- nframes_t sample_end,
+ Location (nframes64_t sample_start,
+ nframes64_t sample_end,
const std::string &name,
Flags bits = Flags(0))
@@ -78,15 +78,15 @@ class Location : public PBD::StatefulDestructible
void lock() { _locked = true; changed (this); }
void unlock() { _locked = false; changed (this); }
- nframes_t start() const { return _start; }
- nframes_t end() const { return _end; }
- nframes_t length() const { return _end - _start; }
+ nframes64_t start() const { return _start; }
+ nframes64_t end() const { return _end; }
+ nframes64_t length() const { return _end - _start; }
- int set_start (nframes_t s);
- int set_end (nframes_t e);
- int set (nframes_t start, nframes_t end);
+ int set_start (nframes64_t s);
+ int set_end (nframes64_t e);
+ int set (nframes64_t start, nframes64_t end);
- int move_to (nframes_t pos);
+ int move_to (nframes64_t pos);
const std::string& name() const { return _name; }
void set_name (const std::string &str) { _name = str; name_changed(this); }
@@ -129,8 +129,8 @@ class Location : public PBD::StatefulDestructible
private:
std::string _name;
- nframes_t _start;
- nframes_t _end;
+ nframes64_t _start;
+ nframes64_t _end;
Flags _flags;
bool _locked;
@@ -169,11 +169,11 @@ class Locations : public PBD::StatefulDestructible
int set_current (Location *, bool want_lock = true);
Location *current () const { return current_location; }
- Location *first_location_before (nframes_t, bool include_special_ranges = false);
- Location *first_location_after (nframes_t, bool include_special_ranges = false);
+ Location *first_location_before (nframes64_t, bool include_special_ranges = false);
+ Location *first_location_after (nframes64_t, bool include_special_ranges = false);
- nframes_t first_mark_before (nframes_t, bool include_special_ranges = false);
- nframes_t first_mark_after (nframes_t, bool include_special_ranges = false);
+ nframes64_t first_mark_before (nframes64_t, bool include_special_ranges = false);
+ nframes64_t first_mark_after (nframes64_t, bool include_special_ranges = false);
void find_all_between (nframes64_t start, nframes64_t, LocationList&, Location::Flags);