mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
[Summary] In Preference Panel added handler on_device_error ()
This commit is contained in:
parent
7fc1d26b3d
commit
9642bfaf1a
2 changed files with 16 additions and 0 deletions
|
|
@ -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*)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue