summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.h
AgeCommit message (Collapse)Author
2020-05-18Try restore the recently used state after device-list refreshRobin Gareus
This takes into account if the device is present, and picks the most recently used state for the available devices.
2020-05-09Engine-dialog: latency spinbox sensitivityRobin Gareus
This allows to change latency while running using numeric entry or otherwise makes the spinboxes insensitive.
2020-05-09Remember I/O ports used for latency measurementRobin Gareus
2020-04-10Continue to load session after MIDI latency calibrationRobin Gareus
This amends e6febe040a
2019-11-06move all responsibility for autostart into StartupFSM and out of engine dialogPaul Davis
2019-09-26Add use-these-engine-settings-from-now-on checkboxRobin Gareus
Functional, but this needs a layout fix, still.
2019-09-22fix problem with ArdourDialog::on_delete_event() not being called when ↵Paul Davis
appropriate during app startup The dialog is run using gtk_dialog_run() which uses on_response() to deal with delete/close events unlike a regular top level event loop. Probably even better would be run run the dialog from the top level event loop, but this is a bit complex
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2019-05-05Use pretty-port-names in latency measurement dialogRobin Gareus
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01NO-OP whitespace & foratting of header filesRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2016-12-07Further tweaks to EngineDialog z-axis stackingRobin Gareus
When there's no main window (initial setup, no transient parent), preset a normal window listed in the task-bar. The duality the Engine Dialog being used as Ardour-WM managed non-modal Window (Menu > A/M Setup) and modal Dialog (AudioEngineSetupRequired) complicates this a bit.
2016-11-30Remove close/OK buttons from engine dialogRobin Gareus
2016-10-19move MIDI port options out of engine dialog and into prefsPaul Davis
2016-10-18further work on a MIDI port functionality dialogPaul Davis
2016-10-18beginnings of a tab in Audio/MIDI setup to manage MIDI port functionalityPaul Davis
2016-04-18add a try-autostart-engine option (most recently used settings)Robin Gareus
2016-02-11Add button to Engine Dialog to choose between Portaudio callback and ↵Tim Mayberry
blocking API
2016-01-29fix device-list update concurrency issue.Robin Gareus
It may happen that during push_state_to_backend() a device is reconfigured in a way that triggers a "Device Changed" callback before the engine is started. This callback can trigger a change to the configuration that will be used when the engine is actually started. This has been seen on OSX in conjunction with Aggregate Devices (even if the aggregate is not used, but the device which is used is also part of an aggregate) example: HW changed callback arrives, device-list is re-populated, *A*irplay" is at the top of the list, Airplay supports only 44.1K, Samplerate changes... later save also writes this new rate to the file.
2015-12-05GUI chores to show nperiods option.Robin Gareus
2015-12-04GUI handling for live latency-measurementRobin Gareus
2015-11-23prefer recently used states.Robin Gareus
2015-11-23restore last used driver+devices for a given backend.Robin Gareus
2015-10-06Stop engine when clicking back button in latency measurement tab of ↵Tim Mayberry
EngineControl dialog The engine is started when you switch to latency measurement tab but it isn't stopped if you just click the back button without measuring for latency.
2015-10-06Add EngineControl::stop_engine method to show errors when stopping engineTim Mayberry
This replaces using ARDOUR_UI::disconnect_from_session which is only used by the EngineControl class. ARDOUR_UI::disconnect_from_session also disconnects from the AudioEngine::Halted signal which seems unnecessary as Halted is not emitted when stopping the engine and calling update_sample_rate() which is already handled when the AudioEngine::Stopped signal is emitted.
2015-10-06Handle all errors when starting backend in EngineDialogTim Mayberry
2015-09-02Add utility method for choosing which device/s to display in Audio Setup dialogTim Mayberry
2015-09-02Add "Refresh Devices" button in Audio Setup dialog for backends that support itTim Mayberry
This allows the portaudio library to be reinitialized to pick up new devices and changes to ASIO buffer changes made externally.
2015-09-02Remove Apply button from Audio Setup dialog now that there is a start/stop ↵Tim Mayberry
button
2015-09-02Change "Stop" button into a Start/Stop button in Audio Setup dialogTim Mayberry
2015-08-11allow to stop engine for re-configureRobin Gareus
2015-08-11consolidate engine-dialog widget sensitivity logic.Robin Gareus
Use a single function with the complete logic. Since the callgraph is complex, there is internal state as well as GUI state (different pages), do not rely on individual methods to get it right. A widget's sensitivity should only be controlled by one function.
2015-08-11Extract two utility methods from ↵Tim Mayberry
EngineControl::set_samplerate/bufferize_popdown_strings
2015-08-11Use a union of all sample rates and buffer sizes for all devices in ↵Tim Mayberry
EngineControl Using just the input device doesn't work in the case that the input device is an invalid/None device
2015-08-11Fix state restoration in EngineControl dialog for backends with driver selectionTim Mayberry
This also prevents backend_changed from being called more that once in the EngineControl ctor
2015-08-11Extract part of EngineControl::backend_changed into ↵Tim Mayberry
EngineControl::update_midi_options
2015-08-11Add methods in EngineControl for blocking and unblocking signalsTim Mayberry
Only intended to be used with the nested SignalBlocker class
2015-08-11Refactor part of EngineDialog ctor into connect_changed_signals methodTim Mayberry
2015-08-11Refactor part of EngineControl::set_state into new set_current_state methodTim Mayberry
2015-08-11Remove unused method in EngineControl dialogTim Mayberry
2015-07-31Fix state restoration in Engine dialog for Backends with driver selectionTim Mayberry
Connect to the backend_combo changed signal after setting state as calling backend_combo.set_active_text() in set_state was triggering backend_changed(), which would then see the driver_combo had not been set and set it to the incorrect value. The value/name of the backend needs to be restored first then we can populate the driver combo and set the correct active entry from the saved state. After which backend_changed() will populate the device combo's etc so they can then be set to the correct active values from the saved state.
2015-05-31Allow selection of input and output devices in EngineDialog for backends ↵Tim Mayberry
that support it Some refactoring was necessary to avoid code duplication Restoring of device state for input and output devices still doesn't work correctly. I'm not quite sure what the issue is at this stage.
2015-03-07engine dialog, update device is changed.Robin Gareus
2015-03-06update Engine Dialog when devices are dis/connected.Robin Gareus
2015-01-25add a simple status indicator to the Engine DialogRobin Gareus
2015-01-17Engine Dialog: fix various signal connectionsRobin Gareus
connect/disconnect button was connected multiple times Also the button allowed to start a backend with invalid settings (after changing backend). Q: does “Connect to” make sense? It’s redundant with “Apply”.
2014-09-01Engine Dialog: focus OK button (press enter to cont w/previous settings)Robin Gareus
2014-06-23for backends w/o control, save a fake state with only the "active" attribute.Robin Gareus
This makes ardour start directly with external jack without asking if jack was previously used. It also retains jackd settings if jackd was previously started by ardour.