mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Fix send mono to stereo (or N to M; M > N) sends #7409 part 1/2
This commit is contained in:
parent
e74d1f1048
commit
8e4eb42833
2 changed files with 7 additions and 1 deletions
|
|
@ -97,6 +97,12 @@ InternalSend::use_target (boost::shared_ptr<Route> sendto)
|
||||||
mixbufs.ensure_buffers (_send_to->internal_return()->input_streams(), _session.get_block_size());
|
mixbufs.ensure_buffers (_send_to->internal_return()->input_streams(), _session.get_block_size());
|
||||||
mixbufs.set_count (_send_to->internal_return()->input_streams());
|
mixbufs.set_count (_send_to->internal_return()->input_streams());
|
||||||
|
|
||||||
|
_meter->configure_io (ChanCount (DataType::AUDIO, pan_outs()), ChanCount (DataType::AUDIO, pan_outs()));
|
||||||
|
|
||||||
|
if (_delayline) {
|
||||||
|
_delayline->configure_io (ChanCount (DataType::AUDIO, pan_outs()), ChanCount (DataType::AUDIO, pan_outs()));
|
||||||
|
}
|
||||||
|
|
||||||
reset_panner ();
|
reset_panner ();
|
||||||
|
|
||||||
set_name (sendto->name());
|
set_name (sendto->name());
|
||||||
|
|
|
||||||
|
|
@ -346,7 +346,7 @@ Send::configure_io (ChanCount in, ChanCount out)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_delayline && !_delayline->configure_io(in, out)) {
|
if (_delayline && !_delayline->configure_io (ChanCount (DataType::AUDIO, pan_outs()), ChanCount (DataType::AUDIO, pan_outs()))) {
|
||||||
cerr << "send delayline config failed\n";
|
cerr << "send delayline config failed\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue