[Summary] In Preference Panel added handler on_device_error ()

This commit is contained in:
nikolay 2014-08-29 14:16:22 +03:00
parent 7fc1d26b3d
commit 9642bfaf1a
2 changed files with 16 additions and 0 deletions

View file

@ -1243,6 +1243,21 @@ TracksControlPanel::on_session_settings (WavesButton*)
_session_settings_tab_button.set_active(true);
}
void
TracksControlPanel::on_device_error ()
{
std::string message = _("Device cannot operate properly. Switched to None device.");
MessageDialog msg (message,
false,
Gtk::MESSAGE_WARNING,
Gtk::BUTTONS_OK,
true);
msg.set_position (Gtk::WIN_POS_MOUSE);
msg.set_keep_above (true);
msg.run ();
}
void
TracksControlPanel::on_multi_out (WavesButton*)

View file

@ -115,6 +115,7 @@
void on_audio_output_configuration_changed ();
void on_midi_input_configuration_changed ();
void on_midi_output_configuration_changed ();
void on_device_error ();
void cleanup_input_channels_list();
void cleanup_output_channels_list();