diff options
Diffstat (limited to 'libs/ardour/ardour/buffer_set.h')
-rw-r--r-- | libs/ardour/ardour/buffer_set.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index a4fa53e2fc..bd0c23d9e7 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -71,10 +71,10 @@ public: void clear(); void attach_buffers (PortSet& ports); - void get_backend_port_addresses (PortSet &, framecnt_t); + void get_backend_port_addresses (PortSet &, samplecnt_t); /* the capacity here is a size_t and has a different interpretation depending - on the DataType of the buffers. for audio, its a frame count. for MIDI + on the DataType of the buffers. for audio, its a sample count. for MIDI its a byte count. */ @@ -87,7 +87,7 @@ public: const ChanCount& count() const { return _count; } ChanCount& count() { return _count; } - void silence (framecnt_t nframes, framecnt_t offset); + void silence (samplecnt_t nframes, samplecnt_t offset); bool is_mirror() const { return _is_mirror; } void set_count(const ChanCount& count) { assert(count <= _available); _count = count; } @@ -134,9 +134,9 @@ public: VstEvents* get_vst_midi (size_t); #endif - void read_from(const BufferSet& in, framecnt_t nframes); - void read_from(const BufferSet& in, framecnt_t nframes, DataType); - void merge_from(const BufferSet& in, framecnt_t nframes); + void read_from(const BufferSet& in, samplecnt_t nframes); + void read_from(const BufferSet& in, samplecnt_t nframes, DataType); + void merge_from(const BufferSet& in, samplecnt_t nframes); template <typename BS, typename B> class iterator_base { @@ -196,7 +196,7 @@ private: ~VSTBuffer (); void clear (); - void push_back (Evoral::Event<framepos_t> const &); + void push_back (Evoral::Event<samplepos_t> const &); VstEvents* events () const { return _events; } |