mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
[Summary] Update "EXO" label on Input/Output channels changes and engine changes
[Reviewed] GZharun [git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 463588]
This commit is contained in:
parent
96eb98559c
commit
0b06ca5fa3
3 changed files with 22 additions and 3 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "opts.h"
|
||||
#include "i18n.h"
|
||||
#include "utils.h"
|
||||
#include "gui_thread.h"
|
||||
|
||||
#include "open_file_dialog_proxy.h"
|
||||
|
||||
|
|
@ -86,7 +87,12 @@ void SessionDialog::init()
|
|||
_quit_button.signal_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_quit));
|
||||
_new_session_button.signal_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_new_session));
|
||||
_system_configuration_button.signal_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_system_configuration));
|
||||
for (size_t i = 0; i < MAX_RECENT_SESSION_COUNTS; i++) {
|
||||
|
||||
EngineStateController::instance ()->InputConfigChanged.connect (_system_config_update, invalidator (*this), boost::bind (&SessionDialog::on_system_configuration_change, this), gui_context());
|
||||
EngineStateController::instance ()->OutputConfigChanged.connect (_system_config_update, invalidator (*this), boost::bind (&SessionDialog::on_system_configuration_change, this), gui_context());
|
||||
EngineStateController::instance ()->EngineRunning.connect (_system_config_update, invalidator (*this), boost::bind (&SessionDialog::on_system_configuration_change, this), gui_context());
|
||||
|
||||
for (size_t i = 0; i < MAX_RECENT_SESSION_COUNTS; i++) {
|
||||
_recent_session_button[i]->signal_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_recent_session ));
|
||||
_recent_session_button[i]->signal_double_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_recent_session_double_click ));
|
||||
}
|
||||
|
|
@ -198,7 +204,14 @@ SessionDialog::on_new_session (WavesButton*)
|
|||
}
|
||||
}
|
||||
|
||||
void SessionDialog::redisplay_system_configuration ()
|
||||
void
|
||||
SessionDialog::on_system_configuration_change ()
|
||||
{
|
||||
redisplay_system_configuration ();
|
||||
}
|
||||
|
||||
void
|
||||
SessionDialog::redisplay_system_configuration ()
|
||||
{
|
||||
ARDOUR::EngineStateController* eng_controller (ARDOUR::EngineStateController::instance() );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue