mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Remove unused method
This commit is contained in:
parent
3ae46256c8
commit
a1c48e0a80
1 changed files with 0 additions and 12 deletions
|
|
@ -57,18 +57,6 @@ public:
|
|||
_written = true;
|
||||
}
|
||||
|
||||
void read_from_with_gain (const Sample* src, samplecnt_t len, gain_t gain, sampleoffset_t dst_offset = 0, sampleoffset_t src_offset = 0) {
|
||||
assert(src != 0);
|
||||
assert(_capacity > 0);
|
||||
assert(len <= _capacity);
|
||||
src += src_offset;
|
||||
for (samplecnt_t n = 0; n < len; ++n) {
|
||||
_data[dst_offset+n] = src[n] * gain;
|
||||
}
|
||||
_silent = false;
|
||||
_written = true;
|
||||
}
|
||||
|
||||
/** Copy samples from src buffer starting at src_offset into self starting at dst_offset
|
||||
* @param src buffer to read from
|
||||
* @param len number of samples to copy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue