13
0

Compare commits

...

3 Commits

2 changed files with 2 additions and 3 deletions

View File

@ -31,6 +31,7 @@ LiveTraxAddTrackDialog::LiveTraxAddTrackDialog ()
, mono_button (channel_button_group, _("Mono"))
, stereo_button (channel_button_group, _("Stereo"))
{
track_count_spinner.signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &Gtk::Dialog::response), RESPONSE_OK));
get_vbox()->pack_start (track_count_spinner);
get_vbox()->pack_start (mono_button);

View File

@ -3067,8 +3067,6 @@ Session::new_audio_track (int input_channels, int output_channels, RouteGroup* r
goto failed;
}
std::cerr << "new track with " << output_channels << " channels\n";
if (track->output()->ensure_io (ChanCount(DataType::AUDIO, output_channels), false, this)) {
error << string_compose (
_("cannot configure %1 in/%2 out configuration for new audio track"),
@ -7937,7 +7935,6 @@ Session::livetrax_auto_connect ()
* direct outs set up yet.
*/
if (!t->direct_outs()) {
std::cerr << "skip LAC, direct outs missing\n";
return;
}
tracks.push_back (t);
@ -7952,6 +7949,7 @@ Session::livetrax_auto_connect ()
for (auto & t : tracks) {
t->input()->disconnect (this);
t->direct_outs()->disconnect ();
uint32_t n;