Commit graph

13715 commits

Author SHA1 Message Date
Paul Davis
92bb0e0d7f fix problem with calls to Editor::trackview_by_y_position() when using motion events. The coordinate passed in was in canvas space and the method expected trackview space
To handle any further issues like this, I generalized and added an optional argument specifying that the canvas=>trackview transform is required, thus
centralizing where this done.
2014-06-08 14:41:29 -04:00
Paul Davis
b86e1204ec fix borked logic controlling whether/when to draw clip/outline pixels/lines in waveviews 2014-06-08 13:13:44 -04:00
Paul Davis
c22e96522d Merge branch 'waveview_caching_for_upstream' of https://github.com/nmains/ardour into cairocanvas 2014-06-08 13:01:47 -04:00
nick_m
e495577f98 Use global clip level from prefs. Restore clip colour, \ 2014-06-09 02:50:14 +10:00
Paul Davis
8487314069 introduce Drag::_trackview_only which indicates that all y-axis positions for the pointer during a drag should be relative to the top of the trackview group.
More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
2014-06-08 11:26:32 -04:00
Paul Davis
5e281d3b44 when delivering enter/leave events to canvas items, ensure that the event coordinates are in canvas space, not window space
This fixes a variety of borkage in the canvas at present
2014-06-08 11:26:32 -04:00
Paul Davis
153befa92c add Item::canvas_origin() for convenience 2014-06-08 11:26:32 -04:00
Paul Davis
ba8d0e32f7 fix crash caused by click-on-region-name if name highlights are not in use - such a click is not a trim operation under those conditions 2014-06-08 11:26:32 -04:00
Robin Gareus
34e2cf7913 fix 'use_latency_button' (broken in prev. commit) 2014-06-08 17:19:10 +02:00
Robin Gareus
b3a44ea32b ALSA Backend: align midi output buffer with n_periods (currently 2) 2014-06-08 15:53:15 +02:00
Robin Gareus
eb289a76af basic Midi latency measurement GUI (re-use Audio latency notebook) 2014-06-08 14:48:10 +02:00
Robin Gareus
81182b5bf6 prepare MIDI latency measurement (backend) 2014-06-08 11:18:18 +02:00
Robin Gareus
6416a429a8 implement midi capture alignment:
For audio: not writing frames to the capture ringbuffer offsets
the recording.
For midi: we need to keep track of the record range
and subtract the accumulated difference from the event time.
2014-06-08 01:07:03 +02:00
Robin Gareus
5a41487a08 remove some 1920 tick constants and leave notes for some others. 2014-06-07 18:35:37 +02:00
nick_m
7a05dde39d Use a dumb cache for waveview ImageSurfaces. This halves the size of the
previous one, but usually ends up using three of them at the current
CACHE_HIGH_WATER setting.
Should result in a smaller memory footprint for sessions with
multiple copies of nearby audio segments (electronic style).
The downside is the larger memory footprint for linear recording
sessions if CACHE_HIGH_WATER > 1 (1 giving a max of two
half - sized cache entries per audio stream).
2014-06-08 01:47:38 +10:00
Robin Gareus
94fa927861 limit automation event density - fixes #5928
Constrain control points to one per tick (1/1920 beats).

Prior to this it was possible to set two values to the
same time (interpolation and iteration failed).
2014-06-07 17:43:12 +02:00
Robin Gareus
8f17b7c309 ALSA backend: separate systemic audio+midi latency 2014-06-07 17:28:47 +02:00
Robin Gareus
436eecbb3c check for xjadeo/xjremote >= 0.7.7 2014-06-07 17:28:46 +02:00
Robin Gareus
889f62328b update for xjadeo 0.7.7 (don't connect to jackd by default) 2014-06-07 17:28:46 +02:00
Robin Gareus
c452cd9be2 ALSA rt-thread priority fixes 2014-06-07 17:28:46 +02:00
Robin Gareus
b68d2e25b2 ALSA backend: prevent possible crash destruction of a-r-d 2014-06-07 17:28:46 +02:00
Robin Gareus
960a5347f0 ALSA & Dummy: implement port [un]registration_callback 2014-06-07 17:28:46 +02:00
Paul Davis
5288de3dc0 install libardouralsautil into the normal libdir, not a subdir 2014-06-07 08:30:35 -04:00
Tim Mayberry
5086cc3f49 Revert windows backend search expression to "*backend.dll" 2014-06-07 14:31:32 +10:00
Tim Mayberry
6b3e7cf07d Don't use module versioning with dummy backend when building with mingw 2014-06-07 14:31:32 +10:00
Tim Mayberry
67c43d4b49 Don't use module versioning with jack backend in the mingw build 2014-06-07 14:31:32 +10:00
Tim Mayberry
be277e311b Update pango.modules and remove reference to old pango module version
Fedora 19 and 20 use same 1.8.0 module path
2014-06-07 13:49:12 +10:00
Tim Mayberry
35c8f5bab4 Only copy necessary config files to package directory
Also use -L flag so files are actually copied and not linked
2014-06-07 13:49:12 +10:00
Tim Mayberry
44ac7859c5 Added LV2 libs and bundled LV2 plugins to windows packaging scripts 2014-06-07 13:49:12 +10:00
Tim Mayberry
dada765e7a Include stdint.h for int64_t type 2014-06-07 13:49:12 +10:00
Tim Mayberry
c5538969b7 Fix timecode target so it is just libtimecode.so and not liblibtimecode.so 2014-06-07 13:49:12 +10:00
Tim Mayberry
513a23d5bb Change define to be consistant even though it isn't currently used 2014-06-07 13:49:12 +10:00
Tim Mayberry
cb9c64ebe4 Fix paths in ardourvst.in 2014-06-07 13:49:12 +10:00
Tim Mayberry
7ba3e50e51 Fix paths in ardour.sh 2014-06-07 13:49:11 +10:00
Tim Mayberry
cd57e14cf3 Fix install path of ardour_system.rc 2014-06-07 13:49:11 +10:00
Paul Davis
5285bb587f fix position where rubberband rect is drawn 2014-06-06 08:33:13 -04:00
Paul Davis
b54a2713a1 When rendering a Canvas::Rectangle take its _position into account, even though in general this is always (0,0) within its parent 2014-06-06 08:33:13 -04:00
Robin Gareus
d7fc573cb8 alsa + dummy backend, proper [re]initialization 2014-06-06 03:43:39 +02:00
Robin Gareus
1c87f6adec properly setup port system latency for Dummy & ALSA backend 2014-06-06 00:58:11 +02:00
Paul Davis
792fe016e7 clip rendering of ScrollGroup to just the part of the canvas covered by the scroll group.
This stops tracks from appearing to scroll up under the rulers, among other things.
2014-06-05 18:18:28 -04:00
Paul Davis
eec24b6287 fix up drawing and selection process for range selections (caused by subtle change in semantics of TimeAxisView::covered_by_y_range()) 2014-06-05 17:06:36 -04:00
Paul Davis
24e357ae19 fix issues with verbose canvas cursor because it was in a horizontally-only scroll group 2014-06-05 15:33:56 -04:00
Paul Davis
64701f3955 remove needlessly-added method 2014-06-05 15:22:26 -04:00
Paul Davis
ad346dc638 reinstate a canvas group where we reparent regions while dragging, so that they are always on top.
I mistakenly removed this during the onecanvas changes.
2014-06-05 15:16:55 -04:00
Paul Davis
ef9bf58359 fix problems with expose/redraws from canvas where requested area goes way outside the integer range allowed by GTK/GDK 2014-06-05 14:42:46 -04:00
Paul Davis
ac33bb4256 streamline logic for setting waveform colors 2014-06-05 14:12:58 -04:00
Paul Davis
05f476875b tweak logic for region coloring, particularly when muted 2014-06-05 14:12:58 -04:00
Robin Gareus
748c137461 pass ardour's pid to the device reservation script.
terminate a-r-d when ardour crashes or exits unexpectedly.
2014-06-05 19:49:23 +02:00
Robin Gareus
2aa32ed349 unify Fade-Handle Cursors 2014-06-05 18:58:21 +02:00
Robin Gareus
4ad24b3a27 Revert "frankenstein'ed fade+trim cursors"
This reverts commit 3b717da783.
2014-06-05 18:58:21 +02:00