Commit graph

16682 commits

Author SHA1 Message Date
Ben Loftis
9e44e46c4a Enable stationary playhead mode.
stationary playhead needs to follow same rules as regular moving playhead.
2015-06-04 15:49:56 -05:00
Robin Gareus
b36d95d971 half-duplex Coreaudio support. 2015-06-04 02:44:58 +02:00
Paul Davis
3d2f298fb2 Change message about JACK already running to be less scary 2015-06-03 13:48:43 -04:00
Paul Davis
2d28ebc936 check size of peak file before attempting to use it. Rebuild from scratch if necessary. 2015-06-03 13:47:58 -04:00
Paul Davis
2bd3a3fef6 when AudioSource::read_peaks() provides start+cnt too close to the end, be sure to reset expected_peaks and scale to match the corrected values 2015-06-03 13:46:59 -04:00
Paul Davis
10e4aa02ad break apart style errors from style warnings in pre-commit hook 2015-06-02 12:53:04 -04:00
Paul Davis
ec991ae047 expand comment 2015-06-02 12:27:39 -04:00
Paul Davis
25797d8618 don't use the return value from AudioRegion::read_peaks() because it is either zero or n_peaks 2015-06-02 12:17:50 -04:00
Paul Davis
59028b6c80 close all source files before renaming interchange tree in Session::rename() 2015-06-02 12:09:04 -04:00
Paul Davis
88aaf587ad AudioRegion::read_peaks() should return 0 or the number of peaks read, not the number of samples 2015-06-02 12:09:04 -04:00
John Emmas
9706125526 Amend WaveView::send_request() such that it'll compile with MSVC
Hopefully, this was the original intention (I've simply amended a function call to match similar usages elsewhere in the code).
2015-06-02 11:17:31 +01:00
Paul Davis
95c991ba35 reinstate absent image.
Then go back to bed and be ill some more.
2015-06-01 21:08:56 -04:00
Robin Gareus
e0fcd18ec6 fix duplicate inc/decrement in AutoSpin? 2015-06-02 01:01:23 +02:00
Robin Gareus
4dd5b184c8 NOOP, fix whitespace 2015-06-02 01:01:23 +02:00
Robin Gareus
401ded3583 always round integer steps (regardless of enum) 2015-06-02 01:01:23 +02:00
Robin Gareus
dd07428c48 properly handle integer steps in plugin controls
The integer steps min/max are inclusive. 
e.g the integer range -1 to +1 has three possible values (not two).
2015-06-02 01:01:23 +02:00
Ben Loftis
42915c19a4 fix cursor in smart mode, when moving up and down the frame handles 2015-06-01 16:18:10 -05:00
Paul Davis
0288454387 remove debug output and get logic correct to cause first render to always use the render thread 2015-06-01 14:55:17 -04:00
Paul Davis
d17e35772d drop in threaded waveview changes via the two affected files.
Rebasing the feature branch against master was too messy, and only these two files were
changed. The development history of this branch could easily have been --squash'ed anyway,
so not much of a loss
2015-06-01 14:45:41 -04:00
Ben Loftis
cc396baf0d Fix some visual loopholes when switching tools inside a region:
switching to Grab should show the fade handles...
...switching away from grab should hide them.
Also, change "always show gain" preference to show lines, but not control points.
2015-06-01 13:12:39 -05:00
Robin Gareus
ce69096fae fix importing A2 automation data - fixes #6359 2015-06-01 18:22:25 +02:00
Robin Gareus
1fe738a36e coreaudio support for multiple devices 2015-06-01 01:02:38 +02:00
Robin Gareus
4d2bc612f2 engine dialog fixes for multiple devices 2015-06-01 01:01:42 +02:00
Tim Mayberry
d9f24a46aa Allow selection of input and output devices in EngineDialog for backends 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-05-31 20:02:07 +02:00
Tim Mayberry
bb3b15ef96 Add API to ARDOUR::AudioBackend to allow different input and output devices
Used spaces instead of tabs for whitespace consistancy with rest of header
2015-05-31 20:02:07 +02:00
Robin Gareus
86f56de656 fix the cairo-fletcher-fluctuation
CF reports occasional “rendering icon 1 at size 1 x 1” 
always followed by “rendering icon 1 at size 21 x 21”. 
 
Probably a GTK bug with some specific version of GTK.
2015-05-31 19:40:04 +02:00
Robin Gareus
6c4d2a576d vector icons should at least be 6x6 px 2015-05-30 17:28:32 +02:00
Ben Loftis
3bdb40109b Stationary Playhead.
It is hard to locate/edit while playing, in this mode.
I think it needs to be an action, not a mode.
2015-05-30 08:31:09 -05:00
Ben Loftis
64586a8301 factor out Route::muted_by_others from existing code 2015-05-29 15:21:20 -05:00
Paul Davis
0412060b44 tweaks and improvements to Save-As
Always copy MIDI files, they are small and they get rewritten for lots of reasons, which can cause confusion
if the user elected to NOT "copy media" since the file ends up existing in both the new and old (but in use)
session.

Avoid copying analysis files on Windows, where for now the files contain illegal colon characters
2015-05-28 19:26:21 -04:00
Paul Davis
2cb3cbe491 change the semantics of AudioFileSource::peak_path() and Session::peak_path() a little.
If given a full path that points outside the current session but is within another ardour session,
attempt to use the peakfiles present in that other session.
2015-05-28 19:08:47 -04:00
Paul Davis
1291f3d2e8 add name text for ToggleExternalSync action 2015-05-28 16:22:32 -04:00
Paul Davis
48c4ad8004 only use and present the buggy gradient parameter if built with a suitably patched version of Cairo 2015-05-28 13:27:38 -04:00
Paul Davis
173b007779 rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
2015-05-28 12:46:43 -04:00
Paul Davis
34d19ce879 add control for buggy gradient option 2015-05-28 12:46:43 -04:00
Paul Davis
5cc04c55c1 add buggy gradient option 2015-05-28 12:46:43 -04:00
nick_m
2ef94d9422 Fix uninitialised variable. 2015-05-28 23:37:46 +10:00
Robin Gareus
8dbd55236a amend 3f5d17d, clear changes to MIDI as well. 2015-05-28 14:41:17 +02:00
Robin Gareus
3f5d17dd24 Fix region paste (ctrl+v) undo. 2015-05-28 13:19:50 +02:00
Paul Davis
9c6a821c67 prevent crash when using WM close button on "new route name contains bad chars" dialog.
The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing,
and once because focus left the name text entry, also indicate the end of editing. We now note that we're
already processing the end of a name edit, and do nothing in that case
2015-05-27 19:34:11 -04:00
Robin Gareus
2d311979e3 relax LinuxVST GUI event loop.
it was spinning at 100Hz.
2015-05-27 23:30:56 +02:00
Robin Gareus
d98af1785a fader: start muted, ramp up/interpolate to target 2015-05-27 17:13:15 +02:00
Paul Davis
7f902ae1b6 some more information output to log during save-as, for debugging 2015-05-27 10:57:40 -04:00
Paul Davis
5e1ba50731 fix unsigned/signed math error 2015-05-27 08:57:16 -04:00
Paul Davis
431bcf2d10 add new MIDI map file for M-Audio Oxygen 49, from Erik Deroo 2015-05-27 07:11:15 -04:00
Paul Davis
e5c3efe9a3 ensure that Mackie Control bank left/right commands always hit the same boundary (Len Ovens) 2015-05-27 07:11:15 -04:00
John Emmas
f9abce03a9 Add some newly introduced sources to our MSVC project (gtkmm2ext) 2015-05-27 10:21:21 +01:00
John Emmas
78ba915fc1 Gtkmm2ext::ArdourIcon::render() is needed outside of libgtkmm2ext (so let's make it exportable) 2015-05-27 10:11:34 +01:00
Ben Loftis
cc7a368fb6 Rationalize some aspects of region-gain control-point visibility:
Visibility is driven by the currently selected mouse mode.
Visibility no longer depends on entering/exiting the region.
Range mode shows the lines but not the points.
Fixed option text to reflect new operation.
2015-05-26 16:41:03 -05:00
Robin Gareus
d3df99e22e more pixel rounding (small range icon) 2015-05-26 19:25:47 +02:00