Compare commits
3 Commits
2b0c7153a5
...
7789908fb7
Author | SHA1 | Date | |
---|---|---|---|
7789908fb7 | |||
9171be357a | |||
56985164ba |
|
@ -31,6 +31,7 @@ LiveTraxAddTrackDialog::LiveTraxAddTrackDialog ()
|
||||||
, mono_button (channel_button_group, _("Mono"))
|
, mono_button (channel_button_group, _("Mono"))
|
||||||
, stereo_button (channel_button_group, _("Stereo"))
|
, 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 (track_count_spinner);
|
||||||
get_vbox()->pack_start (mono_button);
|
get_vbox()->pack_start (mono_button);
|
||||||
|
|
|
@ -3067,8 +3067,6 @@ Session::new_audio_track (int input_channels, int output_channels, RouteGroup* r
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cerr << "new track with " << output_channels << " channels\n";
|
|
||||||
|
|
||||||
if (track->output()->ensure_io (ChanCount(DataType::AUDIO, output_channels), false, this)) {
|
if (track->output()->ensure_io (ChanCount(DataType::AUDIO, output_channels), false, this)) {
|
||||||
error << string_compose (
|
error << string_compose (
|
||||||
_("cannot configure %1 in/%2 out configuration for new audio track"),
|
_("cannot configure %1 in/%2 out configuration for new audio track"),
|
||||||
|
@ -7937,7 +7935,6 @@ Session::livetrax_auto_connect ()
|
||||||
* direct outs set up yet.
|
* direct outs set up yet.
|
||||||
*/
|
*/
|
||||||
if (!t->direct_outs()) {
|
if (!t->direct_outs()) {
|
||||||
std::cerr << "skip LAC, direct outs missing\n";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
tracks.push_back (t);
|
tracks.push_back (t);
|
||||||
|
@ -7952,6 +7949,7 @@ Session::livetrax_auto_connect ()
|
||||||
|
|
||||||
for (auto & t : tracks) {
|
for (auto & t : tracks) {
|
||||||
t->input()->disconnect (this);
|
t->input()->disconnect (this);
|
||||||
|
t->direct_outs()->disconnect ();
|
||||||
|
|
||||||
uint32_t n;
|
uint32_t n;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user