_process_thread->init ();
DPIReset.connect (sigc::mem_fun (*this, &ARDOUR_UI::resize_text_widgets));
+
+ ARDOUR::GUIIdle.connect (forever_connections, MISSING_INVALIDATOR, boost::bind (&Gtkmm2ext::UI::flush_pending, this), gui_context());
}
int
return;
}
- if (count > 8) {
- /* 8 is arbitrary - we just need a threshold for where
- we start caring that this operation might take
- a long time
- */
- flush_pending();
- flush_pending();
- flush_pending();
- }
-
string template_path = add_route_dialog->track_template();
if (!template_path.empty()) {
string name_template = add_route_dialog->name_template ();
PluginInfoPtr instrument = add_route_dialog->requested_instrument ();
RouteGroup* route_group = add_route_dialog->route_group ();
-
AutoConnectOption oac = Config->get_output_auto_connect();
if (oac & AutoConnectMaster) {
class AudioEngine;
extern PBD::Signal1<void,std::string> BootMessage;
+ extern PBD::Signal0<void> GUIIdle;
int init (bool with_vst, bool try_optimization);
void init_post_engine ();
mix_buffers_no_gain_t ARDOUR::mix_buffers_no_gain = 0;
PBD::Signal1<void,std::string> ARDOUR::BootMessage;
+PBD::Signal0<void> ARDOUR::GUIIdle;
namespace ARDOUR {
extern void setup_enum_writer ();