summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.cc
AgeCommit message (Collapse)Author
2016-05-21fix initial engine state (windows: buffered-i/o; all: channelcount)Robin Gareus
2016-05-07fix LocaleGuard contstructor (3dc77280)Robin Gareus
2016-05-05we always only use the "C" locale when saving.Robin Gareus
2016-05-04OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)Paul Davis
2016-04-18slightly better version of 0077923d, don't stop the engine for nothingRobin Gareus
2016-04-18update flow when loading a new session with different SR.Robin Gareus
2016-04-18add a try-autostart-engine option (most recently used settings)Robin Gareus
2016-04-18Engine Dialog: exclude optional widgets from show_all.Robin Gareus
2016-02-13Hide "Use Buffered I/O" button when switching to backend with no controlTim Mayberry
Which in this case means the JACK backend where the server is already running.
2016-02-11Add button to Engine Dialog to choose between Portaudio callback and ↵Tim Mayberry
blocking API
2016-02-11Show/Hide midi calibrate button based on AudioBackend::enumerate_devicesTim Mayberry
Rather than use an ifdef to only pack the button on linux just hide the button if the backend doesn't enumerate the devices.
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.
2016-01-14GUI for latency-measurement signal-levelRobin Gareus
2015-12-05tweak GUI for backends where nperiods is driver dependent.Robin Gareus
2015-12-05GUI chores to show nperiods option.Robin Gareus
2015-12-04GUI handling for live latency-measurementRobin Gareus
2015-12-04remove duplicate check (same is done few lines above)Robin Gareus
2015-11-23prefer recently used states.Robin Gareus
2015-11-23restore last used driver+devices for a given backend.Robin Gareus
2015-10-06Do not restore engine state if we don't have controlRobin Gareus
When connecting to already running jack, display jack's buffersize correctly.
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-10-06Align switch statement with case labels to reduce indentation in EngineDialogTim Mayberry
2015-10-05remove unused fstream includesRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-01Add parent window argument to ARDOUR_UI::check_audioengineTim Mayberry
Ensures relevant placement of the dialog when presented
2015-10-01Display warning when closing Audio Setup dialog with engine stoppedTim Mayberry
Only show warning when a session is loaded
2015-10-01Don't hide Audio Setup dialog when clicking 'OK' if engine fails to startTim Mayberry
This has to be handled in two places, in ARDOUR_UI::do_audio_midi_setup and in the dialogs response handler and in as the window can also be triggered via the window action manager.
2015-09-10fix a small memleak.Robin Gareus
downcase(char*) requires free(), downcase(std::string) does not.
2015-09-06initialize some uninitialized variables.Robin Gareus
really just nitpicking (keep valgrind clean).
2015-09-02Add utility method for choosing which device/s to display in Audio Setup dialogTim Mayberry
2015-09-02Use previously set buffer size in EngineDialog if possibleTim Mayberry
This is also to support refreshing of devices so that the buffer size isn't reset.
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-02Add some debugging output for state restoration in Audio Setup dialogTim Mayberry
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-27use program-name for internal portsRobin Gareus
2015-08-13Fix state restoration in EngineControl dialog for backends with driver selectionTim Mayberry
We want to save the driver name even when the engine is running and the driver combo is insensitive
2015-08-12hide “Midi Setup” button on OSX and Windows.Robin Gareus
2015-08-11remove -Woverload-virtual ambiguity (from 1d3690d)Robin Gareus
2015-08-11update driver selection sensitivityRobin Gareus
2015-08-11refine "Running" message.Robin Gareus
2015-08-11don't allow to change devices while engine is running.Robin Gareus
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-11Engine Dialog: use new APIRobin Gareus
2015-08-11Fix to ensure there are always sample rates and buffer sizes in the dropdownTim Mayberry
This can happen if both input and output devices are set to None for instance on backends that report no supported SR or buffer size for the None device.
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