diff --git a/session_utils/common.cc b/session_utils/common.cc index 6a0052ad13..f9eb02cec5 100644 --- a/session_utils/common.cc +++ b/session_utils/common.cc @@ -141,9 +141,6 @@ static Session * _load_session (string dir, string state) ::exit (EXIT_FAILURE); } - engine->set_input_channels (256); - engine->set_output_channels (256); - float sr; SampleFormat sf; std::string v; @@ -210,9 +207,6 @@ SessionUtils::create_session (string dir, string state, float sample_rate) ::exit (EXIT_FAILURE); } - engine->set_input_channels (256); - engine->set_output_channels (256); - if (engine->set_sample_rate (sample_rate)) { std::cerr << "Cannot set session's samplerate.\n"; return 0; diff --git a/session_utils/new_session.cc b/session_utils/new_session.cc index 83f0c4669f..d5c058f32e 100644 --- a/session_utils/new_session.cc +++ b/session_utils/new_session.cc @@ -109,9 +109,6 @@ create_new_session (string const& dir, string const& state, float sample_rate, i ::exit (EXIT_FAILURE); } - engine->set_input_channels (256); - engine->set_output_channels (256); - if (engine->set_sample_rate (sample_rate)) { cerr << "Cannot set session's samplerate.\n"; return 0;