remove unused variable
This commit is contained in:
parent
4250940ad8
commit
8a0839f332
|
@ -366,12 +366,12 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
||||||
|
|
||||||
if (fabsf (speed) != 1.0f) {
|
if (fabsf (speed) != 1.0f) {
|
||||||
samplecnt_t ocnt = nframes;
|
samplecnt_t ocnt = nframes;
|
||||||
samplecnt_t icnt = interpolation.interpolate (n, chaninfo->rw_vector.len[0], chaninfo->rw_vector.buf[0], ocnt, disk_signal);
|
interpolation.interpolate (n, chaninfo->rw_vector.len[0], chaninfo->rw_vector.buf[0], ocnt, disk_signal);
|
||||||
|
|
||||||
if (ocnt < nframes) {
|
if (ocnt < nframes) {
|
||||||
disk_signal += ocnt;
|
disk_signal += ocnt;
|
||||||
ocnt = nframes - ocnt;
|
ocnt = nframes - ocnt;
|
||||||
icnt = interpolation.interpolate (n, chaninfo->rw_vector.len[1], chaninfo->rw_vector.buf[1], ocnt, disk_signal);
|
interpolation.interpolate (n, chaninfo->rw_vector.len[1], chaninfo->rw_vector.buf[1], ocnt, disk_signal);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (speed != 0.0) {
|
} else if (speed != 0.0) {
|
||||||
|
@ -402,8 +402,6 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
||||||
|
|
||||||
chaninfo->buf->increment_read_ptr (disk_samples_to_consume);
|
chaninfo->buf->increment_read_ptr (disk_samples_to_consume);
|
||||||
|
|
||||||
monitor_mix:
|
|
||||||
|
|
||||||
if (ms & MonitoringInput) {
|
if (ms & MonitoringInput) {
|
||||||
/* mix the disk signal into the input signal (already in bufs) */
|
/* mix the disk signal into the input signal (already in bufs) */
|
||||||
mix_buffers_no_gain (output.data(), disk_signal, disk_samples_to_consume);
|
mix_buffers_no_gain (output.data(), disk_signal, disk_samples_to_consume);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user