projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1467345
)
drop capacity argument from Buffer constructor, since the abstract class cannot ...
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 30 Nov 2013 03:25:36 +0000
(22:25 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 30 Nov 2013 03:25:36 +0000
(22:25 -0500)
libs/ardour/ardour/buffer.h
patch
|
blob
|
history
diff --git
a/libs/ardour/ardour/buffer.h
b/libs/ardour/ardour/buffer.h
index cbb92e7c4ab988b5f8ba5d2c5825cac36d0b99b3..4570a7a66330b1ceddbbcae46b2bbca86eb17396 100644
(file)
--- a/
libs/ardour/ardour/buffer.h
+++ b/
libs/ardour/ardour/buffer.h
@@
-80,8
+80,8
@@
public:
virtual void merge_from (const Buffer& src, framecnt_t len, framecnt_t dst_offset = 0, framecnt_t src_offset = 0) = 0;
protected:
- Buffer(DataType type
, size_t capacity
)
- : _type(type), _capacity(
capacity), _size(0), _silent
(true)
+ Buffer(DataType type)
+ : _type(type), _capacity(
0), _size(0), _silent
(true)
{}
DataType _type;