59 bool silent()
const {
return _silent; }
75 virtual void clear() { silence(_capacity, 0); }
82 : _type(type), _capacity(0), _silent (true)
virtual void merge_from(const Buffer &src, samplecnt_t len, sampleoffset_t dst_offset=0, sampleoffset_t src_offset=0)=0
static Buffer * create(DataType type, size_t capacity)
virtual bool silent_data() const =0
Buffer(const Buffer &)=delete
virtual void silence(samplecnt_t len, samplecnt_t offset=0)=0
virtual void resize(size_t)=0
virtual void read_from(const Buffer &src, samplecnt_t len, sampleoffset_t dst_offset=0, sampleoffset_t src_offset=0)=0
Temporal::samplecnt_t samplecnt_t
Temporal::sampleoffset_t sampleoffset_t