Paul Davis
107e0d6d02
fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
...
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
2014-06-10 10:07:04 -04:00
Paul Davis
3f38a602cc
remove instances of RGBA_TO_UINT() macro from region_view.cc
2014-06-09 23:42:12 -04:00
Paul Davis
96fbdd4bee
remove instances of RGBA_TO_UINT() macro from audio_region_view.cc
2014-06-09 23:39:07 -04:00
Paul Davis
65ef1a8b8a
remove more unusued color members from TimeAxisViewItem
2014-06-09 23:33:14 -04:00
Paul Davis
ce08ec0de0
substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
...
Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09 23:29:00 -04:00
Robin Gareus
438179d278
wrap MIDI timecode at 24h
2014-06-10 04:22:34 +02:00
Robin Gareus
c0376fe7b3
really fix sending MIDI timecode.
2014-06-10 04:12:08 +02:00
Robin Gareus
7df663acf2
fix crash when trying to send MMC of timecode > 255 hours
2014-06-10 03:18:05 +02:00
Robin Gareus
915bb2f641
close dir opened with opendir() - fixes accumulated fd for plugin state saves
2014-06-10 02:21:22 +02:00
Paul Davis
c8ab1aaf7d
use Canvas::LineSet for tempolines rather than N different Canvas::Line items plus a cache
2014-06-09 15:39:57 -04:00
Paul Davis
7a3a66db72
fix Canvas::LineSet implementation to support horizontal and vertical linesets
2014-06-09 15:39:19 -04:00
Paul Davis
9933a80dd4
allow a drag down over the drop zone to be "reversed" and the region moved back up into existing tracks
2014-06-09 10:55:37 -04:00
Paul Davis
d36afa6b8b
forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is)
2014-06-09 10:02:38 -04:00
Paul Davis
95f2b4ba17
change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down
2014-06-09 09:12:42 -04:00
Paul Davis
b530e8649e
rename Editor::_canvas_bottom_rect as Editor::_canvas_drop_zone; increase its size; remove debug message
2014-06-09 09:09:21 -04:00
Paul Davis
0c5dae881c
fix up fit-selected-tracks so that we are filling the trackview area, not the entire canvas (which now includes rulers)
2014-06-09 09:08:51 -04:00
Paul Davis
f0c18abf55
remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour
2014-06-09 08:39:48 -04:00
Robin Gareus
8fe593fcca
some misc tweaks to the ALSA Backend
2014-06-08 21:04:30 +02:00
Robin Gareus
4c1d049c8e
reset accumulated capture offset on file roll-over.
...
(previously it was not reset as long as rec-arm and rec-enable
remained enabled)
2014-06-08 21:03:50 +02:00
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