13
0

Fix copy/paste typo in e0a83a7

This commit is contained in:
Robin Gareus 2017-08-19 02:36:36 +02:00
parent e3475f8ae8
commit d3b341d5c2

View File

@ -653,7 +653,7 @@ AddRouteDialog::channels ()
switch (type_wanted()) { switch (type_wanted()) {
case AudioTrack: case AudioTrack:
case AudioBus: case AudioBus:
ret.set (DataType::MIDI, channel_count ()); ret.set (DataType::AUDIO, channel_count ());
ret.set (DataType::MIDI, 0); ret.set (DataType::MIDI, 0);
break; break;
@ -664,7 +664,7 @@ AddRouteDialog::channels ()
break; break;
case MixedTrack: case MixedTrack:
ret.set (DataType::MIDI, channel_count ()); ret.set (DataType::AUDIO, channel_count ());
ret.set (DataType::MIDI, 1); ret.set (DataType::MIDI, 1);
break; break;
default: default: