diff options
author | David Robillard <d@drobilla.net> | 2012-08-11 02:13:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-11 02:13:56 +0000 |
commit | 571cbb33901b2a6b6fbc6f311723bc9bc561e731 (patch) | |
tree | 90c1731c8aea550277cf5b83b3429502a7fb3040 /src/server/Context.hpp | |
parent | 46eff0830c8894997fb624733fadcea9c6d74812 (diff) | |
download | ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.tar.gz ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.tar.bz2 ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.zip |
Vectorizable (by GCC with -ftree-vectorize) mixing and Buffer::set_block().
Custom SSE accelerated peak detection when SSE is available at compile time.
Less mixing overhead in general.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4651 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/Context.hpp')
-rw-r--r-- | src/server/Context.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/Context.hpp b/src/server/Context.hpp index c5502687..62bcfba9 100644 --- a/src/server/Context.hpp +++ b/src/server/Context.hpp @@ -66,25 +66,22 @@ public: inline ID id() const { return _id; } - inline void locate(FrameTime s, SampleCount nframes, SampleCount offset) { + inline void locate(FrameTime s, SampleCount nframes) { _start = s; _end = s + nframes; _nframes = nframes; - _offset = offset; } inline void locate(const Context& other) { _start = other._start; _end = other._end; _nframes = other._nframes; - _offset = other._offset; } inline Engine& engine() const { return _engine; } inline FrameTime start() const { return _start; } inline FrameTime end() const { return _end; } inline SampleCount nframes() const { return _nframes; } - inline SampleCount offset() const { return _offset; } inline bool realtime() const { return _realtime; } protected: @@ -96,7 +93,6 @@ protected: FrameTime _start; ///< Start frame of this cycle, timeline relative FrameTime _end; ///< End frame of this cycle, timeline relative SampleCount _nframes; ///< Length of this cycle in frames - SampleCount _offset; ///< Start offset relative to start of driver buffers bool _realtime; ///< True iff context is hard realtime }; |