summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.h
AgeCommit message (Collapse)Author
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.
2014-06-16hide "turn down volume" label for midi-latency measurementRobin Gareus
2014-06-15be smart, use boost::shared_ptrRobin Gareus
2014-06-14enable ArdourButton focus in EngineDialogRobin Gareus
2014-06-13add GUI for midi-device settings (and properly indent the code)Robin Gareus
2014-06-08basic Midi latency measurement GUI (re-use Audio latency notebook)Robin Gareus
2013-11-27do not push new state to backend from audio/MIDI setup until OK or Apply are ↵Paul Davis
clicked (i.e. do not do this when device is changed)
2013-10-15prevent button in latency measurement dialog from changing size when relabelledPaul Davis
2013-10-15try to prevent crash if running latency calibration with JACK setup that is ↵Paul Davis
lacking input or output ports (re: #5721 and #5719)
2013-10-12rework things for Audio/MIDI setup dialog a bit: no tabs being the most ↵Paul Davis
noticeable change
2013-10-10more fixes and rationalizations for MIDI option handling in the audio MIDI setupPaul Davis
2013-10-10basic use of new backend MIDI optionsPaul Davis
2013-09-23move rate_as_string() from EngineControl to utils.ccPaul Davis
2013-09-19show a different audio/MIDI option screen if JACK is already running. try to ↵Paul Davis
fix problem with using AudioBackend::<property-value>() functions before anything has been set.