Commit graph

16692 commits

Author SHA1 Message Date
Colin Fletcher
b7f799b7b2 Exclude inactive tracks & busses from stem export list
The exported file is silent, when choosing to export either region contents or
track outputs, so there seems no point in making such routes available for stem
export at all.

Perhaps there's an arguable use case for enabling stem export of inactive
tracks, but I can't see that it's worth worrying about for now.
2015-06-08 11:17:55 +01:00
Colin Fletcher
8b3c729f26 Add 'Select tracks/busses' & 'Deselect all' buttons to stem export
Add buttons to to select all tracks, select all busses and deselect all to
the stem export channel selector.
2015-06-08 11:17:55 +01:00
Robin Gareus
e801155dde Coreaudio: ignore [expected] SR changes.
Don’t disconnect from engine if sample-rate change
happens during initialization.
2015-06-07 02:33:21 +02:00
Paul Davis
c2f1363387 Merge branch 'ovenwerks-master' 2015-06-04 18:23:08 -04:00
Paul Davis
77723e900f use existing partial existing waveview images (if they exist) while waiting for the full ones 2015-06-04 18:22:55 -04:00
Len Ovens
71ae8d2abe Add an option in the MCP .device file to set master position (fixes #6357) 2015-06-04 15:07:43 -07:00
Len Ovens
71feea97a0 Clean up mackie surface profile editor from things that don't work or match the mackie hardware (fixes #6342) 2015-06-04 15:02:51 -07:00
Paul Davis
de2f4cc321 MackieControl: Make ctl put v-pot in fine mode. 2015-06-04 17:58:24 -04:00
Paul Davis
bc945bb3d3 use existing partial existing waveview images (if they exist) while waiting for the full ones 2015-06-04 17:46:53 -04:00
Len Ovens
f8c4c0b5b8 Make ctl put v-pot in fine mode. 2015-06-04 14:04:46 -07:00
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