summaryrefslogtreecommitdiffstats
path: root/raul/TimeSlice.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 16:30:57 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 16:30:57 +0000
commit9f975e1e8a7dd0d8d90739829dc07d1188ad51e5 (patch)
tree2dda260e26488f364aec848262279e6b08c3d99a /raul/TimeSlice.hpp
parentd9269cb513631751e951c07b32b41a496de0a493 (diff)
downloadraul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.tar.gz
raul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.tar.bz2
raul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.zip
SharedPtr-ify engine side store.
Fix reattaching to engine. Fix connection paths. Remove last dependencies on client (model) library from Serialiser. Fix Raul::PathTable::find_descendants_end. git-svn-id: http://svn.drobilla.net/lad/raul@847 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/TimeSlice.hpp')
-rw-r--r--raul/TimeSlice.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/raul/TimeSlice.hpp b/raul/TimeSlice.hpp
index 0681fb5..a7f445b 100644
--- a/raul/TimeSlice.hpp
+++ b/raul/TimeSlice.hpp
@@ -118,18 +118,9 @@ public:
/** Length of current sub-cycle in beats */
inline BeatCount length_beats() const { return _length_beats; }
-
- // Real-time conversion
-/*
- TickCount ticks_to_offset(TickTime time) {
- assert(time >= _start_ticks);
- TickCount ret = time - _start_ticks + _offset_ticks;
- assert(ret < _offset_ticks + _length_ticks);
- return ret;
- }
-*/
/** Set the offset between real-time and timeslice-time. */
inline void set_offset(TickCount offset) { _offset_ticks = offset; }
+
/** Offset relative to external (e.g Jack) time */
inline TickCount offset_ticks() const { return _offset_ticks; }