Commit Graph

8639 Commits

Author SHA1 Message Date
Robin Gareus
9f3bf09a7c rework processor box: handle n/a plugins 2015-08-16 00:03:39 +02:00
Robin Gareus
eddf50185b prepare UI for missing plugins 2015-08-15 23:29:53 +02:00
Robin Gareus
344c435dae cont'd work on piano roll highlighting. 2015-08-15 05:13:14 +02:00
Robin Gareus
f2495d9808 Highlight note in piano roll - #6510 2015-08-15 03:08:55 +02:00
Robin Gareus
041b31d7c6 fix locate to wallclock fix for PM (>= 2^31 samples) 2015-08-15 00:15:55 +02:00
Tim Mayberry
07dc805919 Fix bug #6337, clicking in canvas without session loaded causes crash 2015-08-14 16:04:24 +10:00
Robin Gareus
a9163e9208 save-as: default to current session name.
this allows to easily add suffixes or otherwise tweak
the current session-name.
2015-08-14 02:32:08 +02:00
Robin Gareus
8c728411db don't allow save-as to write to an existing dir. 2015-08-14 01:36:32 +02:00
Paul Davis
05e3a00b7e updated russian translation (from Alexandre Prokoudine) 2015-08-13 09:11:35 -04:00
Paul Davis
c59c85209a update german translation (from Edgar Aichinger) 2015-08-13 09:00:24 -04:00
Paul Davis
cd92974a60 fix two oddities in strings 2015-08-13 08:56:33 -04:00
Paul Davis
2083cd8a4e remove auto-return-target stuff from preferences; Ardour exposes this via auto-return and nothing else 2015-08-12 19:15:17 -04:00
Paul Davis
3dfed97cd5 add buffering preset combo selector to preferences dialog 2015-08-12 17:27:28 -04:00
Robin Gareus
68442f9d81 add damo22 to authors (ptformat) 2015-08-12 21:14:16 +02:00
Tim Mayberry
59a8fc9e64 Fix state restoration in EngineControl dialog for backends with driver selection
We want to save the driver name even when the engine is running and the driver
combo is insensitive
2015-08-13 00:19:01 +10:00
Paul Davis
4d0be2ee2e use new FPU singleton pattern in gtk2_ardour 2015-08-11 23:00:13 -04:00
Robin Gareus
ad9cebe247 hide “Midi Setup” button on OSX and Windows. 2015-08-12 03:16:09 +02:00
Robin Gareus
687921a760 remove -Woverload-virtual ambiguity (from 1d3690d) 2015-08-11 23:50:56 +02:00
Robin Gareus
bf1b65029c update driver selection sensitivity 2015-08-11 22:04:28 +02:00
Robin Gareus
212a4c1f8d refine "Running" message. 2015-08-11 19:44:14 +02:00
Robin Gareus
6cc029f5da don't allow to change devices while engine is running. 2015-08-11 19:13:10 +02:00
Robin Gareus
52c25cab36 allow to stop engine for re-configure 2015-08-11 15:38:38 +02:00
Robin Gareus
6bb51a26eb consolidate engine-dialog widget sensitivity logic.
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-11 15:38:31 +02:00
Robin Gareus
a3b2b1bcfa Engine Dialog: use new API 2015-08-11 15:38:19 +02:00
Tim Mayberry
22acbc1cee Fix to ensure there are always sample rates and buffer sizes in the dropdown
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-11 14:20:43 +10:00
Tim Mayberry
c80e4c04c5 Extract two utility methods from EngineControl::set_samplerate/bufferize_popdown_strings 2015-08-11 14:13:06 +10:00
Tim Mayberry
a8daa36901 Use a union of all sample rates and buffer sizes for all devices in EngineControl
Using just the input device doesn't work in the case that the input device is
an invalid/None device
2015-08-11 14:00:57 +10:00
Tim Mayberry
5e5db3c402 Check the default SR is available for a device when setting SR in EngineControl 2015-08-11 09:57:38 +10:00
Tim Mayberry
4651b10345 Remove unnecesary clearing of local variable in EngineControl 2015-08-11 09:46:46 +10:00
Tim Mayberry
ab7cf8c7a7 Fix state restoration in EngineControl dialog for backends with driver selection
This also prevents backend_changed from being called more that once in the
EngineControl ctor
2015-08-11 09:24:53 +10:00
Tim Mayberry
c165c991ca Use the current backend device names to set active text in device dropdowns if available
Compare device names with enumerated devices rather than assume an empty string
has special meaning
2015-08-11 09:24:53 +10:00
Tim Mayberry
6451060bd1 Remove Unwinder instances in EngineControl::set_*_device_popdown_strings
These are not necessary since SignalBlocker will prevent signal emission
2015-08-11 09:24:53 +10:00
Tim Mayberry
495dd2e52a Compare the string returned by backend->driver_name() against driver names in EngineControl
Don't assume an empty string has any meaning and compare string returned with
enumerated drivers
2015-08-11 09:24:52 +10:00
Tim Mayberry
e20d74079a Remove Unwinder instance from EngineControl::set_driver_popdown_strings
Not necessary now that signal emission is blocked via backend_changed()
2015-08-11 09:24:52 +10:00
Tim Mayberry
dfa9a2326a Reimplement method using code extracted from EngineDialog::backend_changed
EngineControl::set_driver_popdown_strings is now like the other
set_*_popdown_strings methods in that it sets the driver strings and a
default active entry and returns false if no drivers are available.
2015-08-11 09:24:52 +10:00
Tim Mayberry
1bea87e10a Remove previous fix attempt at restoring state for backends with driver selection
The fix does not work properly anymore for the Portaudio backend and needs
fixing in another manner. It will now be temporarily back to the broken state
it was in before the "fix".
2015-08-11 09:24:52 +10:00
Tim Mayberry
eaf5ed2b18 Use SignalBlocker class in EngineControl to block widget signal emission
This stops a whole lot of redundant signal emission and makes it much easier to
think about what is going on. It also makes the dialog present much faster.
2015-08-11 09:24:52 +10:00
Tim Mayberry
001c1a0910 Extract part of EngineControl::backend_changed into EngineControl::update_midi_options 2015-08-11 09:24:52 +10:00
Tim Mayberry
6e0d062773 Move call to EngineControl::device_changed into EngineControl::list_devices ()
This prevents devices_changed from being called twice with backends that have
separate input and output devices
2015-08-11 09:24:52 +10:00
Tim Mayberry
c8f8f75831 Add debug output to blocking/unblocking signals in EngineControl dialog 2015-08-11 09:24:52 +10:00
Tim Mayberry
1bd15bef6c Add methods in EngineControl for blocking and unblocking signals
Only intended to be used with the nested SignalBlocker class
2015-08-11 09:24:52 +10:00
Tim Mayberry
324b5ffbac Refactor part of EngineDialog ctor into connect_changed_signals method 2015-08-11 09:24:52 +10:00
Tim Mayberry
ecd9950413 Add some basic debug output in EngineControl dialog
This should make it easier to see what affect subsequent commits have on
reducing the amount of unnecessary device querying and signal emission
2015-08-11 09:24:52 +10:00
Tim Mayberry
4f02f81591 Add debug bit for debug output in the EngineControl dialog 2015-08-11 09:24:52 +10:00
Tim Mayberry
f428cb4bf1 Refactor part of EngineControl::set_state into new set_current_state method 2015-08-11 09:24:52 +10:00
Tim Mayberry
a9c149216d Remove unused method in EngineControl dialog 2015-08-11 09:24:52 +10:00
Tim Mayberry
caae165cd3 Defer to device_changed when input or output devices change
This reduces the amount of unnecessary querying of samplerate and buffersize
for devices
2015-08-11 09:24:51 +10:00
Robin Gareus
94014dc5d5 fix video-metadata for windows. 2015-08-10 22:47:32 +02:00
Robin Gareus
460a06380c Revert "Disable video-export metadata on windows (for now)"
This reverts commit 54ab3fb37e.
2015-08-10 22:02:01 +02:00
Robin Gareus
54ab3fb37e Disable video-export metadata on windows (for now)
Quote escaping metadata currently breaks export.
2015-08-10 00:35:24 +02:00