Commit graph

13973 commits

Author SHA1 Message Date
Paul Davis
c5152cfdb3 fix up fit-selected-tracks so that we are filling the trackview area, not the entire canvas (which now includes rulers) 2014-08-17 14:58:15 -04:00
Paul Davis
6f38ff5c3c remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour 2014-08-17 14:58:10 -04:00
Robin Gareus
102c0766c0 some misc tweaks to the ALSA Backend 2014-08-17 14:58:04 -04:00
Robin Gareus
ba5357e226 reset accumulated capture offset on file roll-over.
(previously it was not reset as long as rec-arm and rec-enable
remained enabled)
2014-08-17 14:58:00 -04:00
Paul Davis
525f2893f9 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-08-17 14:56:50 -04:00
Paul Davis
f07af61132 fix borked logic controlling whether/when to draw clip/outline pixels/lines in waveviews 2014-08-17 14:56:44 -04:00
nick_m
017a4a8a87 Use global clip level from prefs. Restore clip colour, \ 2014-08-17 14:56:27 -04:00
Paul Davis
678b836853 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-08-17 14:56:20 -04:00
Paul Davis
f188ecb954 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-08-17 14:56:14 -04:00
Paul Davis
fc9447f2b5 add Item::canvas_origin() for convenience 2014-08-17 14:56:09 -04:00
Paul Davis
8c1e1d0a38 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-08-17 14:56:02 -04:00
Robin Gareus
4e928dda90 fix 'use_latency_button' (broken in prev. commit) 2014-08-17 14:55:55 -04:00
Robin Gareus
57e56346ed ALSA Backend: align midi output buffer with n_periods (currently 2) 2014-08-17 14:55:50 -04:00
Robin Gareus
8bf1afd0df basic Midi latency measurement GUI (re-use Audio latency notebook) 2014-08-17 14:55:42 -04:00
Robin Gareus
3744dd652b prepare MIDI latency measurement (backend) 2014-08-17 14:55:37 -04:00
Robin Gareus
a9239f5f06 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-08-17 14:55:32 -04:00
Robin Gareus
bdbc4a4f6e remove some 1920 tick constants and leave notes for some others. 2014-08-17 14:55:27 -04:00
nick_m
aebd5863f0 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-08-17 14:55:20 -04:00
Robin Gareus
c987ad5281 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-08-17 14:55:13 -04:00
Robin Gareus
d472999ef0 ALSA backend: separate systemic audio+midi latency 2014-08-17 14:55:07 -04:00
Robin Gareus
8a6e04188d check for xjadeo/xjremote >= 0.7.7 2014-08-17 14:55:02 -04:00
Robin Gareus
366323e7e5 update for xjadeo 0.7.7 (don't connect to jackd by default) 2014-08-17 14:54:57 -04:00
Robin Gareus
99642bede1 ALSA rt-thread priority fixes 2014-08-17 14:54:51 -04:00
Robin Gareus
f85282aeec ALSA backend: prevent possible crash destruction of a-r-d 2014-08-17 14:54:46 -04:00
Robin Gareus
58a1f32130 ALSA & Dummy: implement port [un]registration_callback 2014-08-17 14:54:40 -04:00
Paul Davis
7caad67f7f install libardouralsautil into the normal libdir, not a subdir 2014-08-17 14:54:34 -04:00
Tim Mayberry
cd5c1b7b74 Revert windows backend search expression to "*backend.dll" 2014-08-17 14:54:22 -04:00
Tim Mayberry
3a4ae0a296 Don't use module versioning with dummy backend when building with mingw 2014-08-17 14:54:16 -04:00
Tim Mayberry
d3cf4e3986 Don't use module versioning with jack backend in the mingw build 2014-08-17 14:54:09 -04:00
Tim Mayberry
5a01bff128 Update pango.modules and remove reference to old pango module version
Fedora 19 and 20 use same 1.8.0 module path
2014-08-17 14:54:04 -04:00
Tim Mayberry
bee71eeba7 Only copy necessary config files to package directory
Also use -L flag so files are actually copied and not linked
2014-08-17 14:53:58 -04:00
Tim Mayberry
44a544a54e Added LV2 libs and bundled LV2 plugins to windows packaging scripts 2014-08-17 14:53:53 -04:00
Tim Mayberry
9e5f082dea Include stdint.h for int64_t type 2014-08-17 14:53:47 -04:00
Tim Mayberry
c46e55060a Fix timecode target so it is just libtimecode.so and not liblibtimecode.so 2014-08-17 14:53:42 -04:00
Tim Mayberry
808003081e Change define to be consistant even though it isn't currently used 2014-08-17 14:53:35 -04:00
Tim Mayberry
ad0d2c8eba Fix paths in ardourvst.in 2014-08-17 14:53:31 -04:00
Tim Mayberry
374f2b8a70 Fix paths in ardour.sh
Conflicts:
	gtk2_ardour/ardour.sh.in
	gtk2_ardour/wscript
2014-08-17 14:53:23 -04:00
Tim Mayberry
124df65cc9 Fix install path of ardour_system.rc 2014-08-17 14:50:47 -04:00
Paul Davis
31834ac9b3 fix position where rubberband rect is drawn 2014-08-17 14:50:42 -04:00
Paul Davis
07cfa9e163 When rendering a Canvas::Rectangle take its _position into account, even though in general this is always (0,0) within its parent 2014-08-17 14:50:37 -04:00
Robin Gareus
96c06b3fc0 alsa + dummy backend, proper [re]initialization 2014-08-17 14:50:31 -04:00
Robin Gareus
46f0e7dead properly setup port system latency for Dummy & ALSA backend 2014-08-17 14:50:20 -04:00
Paul Davis
874ac355e7 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-08-17 14:50:12 -04:00
Paul Davis
cb9c651639 fix up drawing and selection process for range selections (caused by subtle change in semantics of TimeAxisView::covered_by_y_range()) 2014-08-17 14:50:04 -04:00
Paul Davis
57867ddb50 fix issues with verbose canvas cursor because it was in a horizontally-only scroll group 2014-08-17 14:49:59 -04:00
Paul Davis
c64fcd2fc6 remove needlessly-added method 2014-08-17 14:49:52 -04:00
Paul Davis
983cbeba6f 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-08-17 14:49:44 -04:00
Paul Davis
bbf037c4a3 fix problems with expose/redraws from canvas where requested area goes way outside the integer range allowed by GTK/GDK 2014-08-17 14:49:34 -04:00
Paul Davis
8f177fd723 streamline logic for setting waveform colors 2014-08-17 14:49:27 -04:00
Paul Davis
efc85f052e tweak logic for region coloring, particularly when muted
Conflicts:
	gtk2_ardour/audio_region_view.cc
	gtk2_ardour/time_axis_view_item.cc
2014-08-17 14:49:17 -04:00