L: Correctly setup channel bitmask (amend d752b31245
)
This commit is contained in:
parent
46315cde57
commit
3562bac5ed
@ -1076,7 +1076,11 @@ AudioEngine::start (bool for_latency)
|
||||
|
||||
if (!for_latency) {
|
||||
/* Do this here so we do not have to add it to every backend */
|
||||
_backend->setup_channel_masks (_backend->input_channels(), _backend->output_channels());
|
||||
vector<string> i;
|
||||
vector<string> o;
|
||||
_backend->get_physical_inputs (DataType::AUDIO, i);
|
||||
_backend->get_physical_outputs (DataType::AUDIO, o);
|
||||
_backend->setup_channel_masks (i.size (), o.size ());
|
||||
|
||||
/* Call the library-wide ::init_post_engine() before emitting
|
||||
* running to ensure that its tasks are complete before any
|
||||
|
@ -7864,6 +7864,8 @@ Session::livetrax_auto_connect (std::shared_ptr<Route> route)
|
||||
size_t attempts = 0;
|
||||
size_t limit = physinputs.size();
|
||||
|
||||
assert (physinputs.size() <= input_channel_mask.size());
|
||||
|
||||
while (attempts < limit) {
|
||||
|
||||
ichn = n % physinputs.size();
|
||||
|
Loading…
Reference in New Issue
Block a user