mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Tracks uses -inf gain on newly created tracks
This commit is contained in:
parent
3daf8112fa
commit
5a1144a31b
1 changed files with 15 additions and 1 deletions
|
|
@ -2684,7 +2684,7 @@ Session::reconnect_mtc_ports()
|
|||
MtcOrLtcInputPortChanged (); //emit signal
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endifs
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -2763,6 +2763,20 @@ Session::new_audio_track (int input_channels, int output_channels, TrackMode mod
|
|||
goto failed;
|
||||
}
|
||||
|
||||
if (ARDOUR::Profile->get_trx ()) {
|
||||
// TRACKS considers it's not a USE CASE, it's
|
||||
// a piece of behavior of the session model:
|
||||
//
|
||||
// Gain for a newly created route depends on
|
||||
// the current output_auto_connect mode:
|
||||
//
|
||||
// 0 for Stereo Out mode
|
||||
// 0 Multi Out mode
|
||||
if (Config->get_output_auto_connect() & AutoConnectMaster) {
|
||||
track->set_gain (dB_to_coefficient (0), 0);
|
||||
}
|
||||
}
|
||||
|
||||
track->use_new_diskstream();
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue