Robin Gareus
d84788d310
NOOP, re-indent & whitespace
2014-08-17 15:04:52 -04:00
Robin Gareus
dacf51c299
prepare midi buffer API for midi-delaylines
2014-08-17 15:04:47 -04:00
Robin Gareus
d048c8e4a6
fix midi buffer erase()
2014-08-17 15:04:40 -04:00
Paul Davis
89b7b77fdc
Revert "do not allow canvas cursor changes while a drag is in progress". This
...
was a bad idea. There are lots of reasons to want to change cursors while
dragging, even if we don't do that yet.
This reverts commit 144033e55c .
2014-08-17 15:04:33 -04:00
Paul Davis
ce95944e5b
do not allow canvas cursor changes while a drag is in progress
2014-08-17 15:04:29 -04:00
Paul Davis
a6f89ce443
first pass an alternate cursor set (updates expected soon)
2014-08-17 15:04:23 -04:00
Paul Davis
5fea87ead6
make the icon set selector actually do something
...
Conflicts:
gtk2_ardour/editor.cc
2014-08-17 15:04:16 -04:00
Paul Davis
8d27a1436a
add icon set selector to theme manager
2014-08-17 15:03:34 -04:00
Paul Davis
d1e36a2fcc
add ::get_icon_sets() to utils
2014-08-17 15:03:29 -04:00
Paul Davis
7e317e7ad8
change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors
2014-08-17 15:03:22 -04:00
Paul Davis
d89dd8e73a
remove ambiguous use of Rect (on OS X)
2014-08-17 15:03:17 -04:00
Paul Davis
aefe0a4953
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-08-17 15:03:01 -04:00
Paul Davis
895f4ccb16
remove instances of RGBA_TO_UINT() macro from region_view.cc
2014-08-17 15:02:56 -04:00
Paul Davis
9199b9fc6e
remove instances of RGBA_TO_UINT() macro from audio_region_view.cc
2014-08-17 15:02:50 -04:00
Paul Davis
cbea95b43d
remove more unusued color members from TimeAxisViewItem
2014-08-17 15:02:45 -04:00
Paul Davis
72d9c38702
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
Conflicts:
gtk2_ardour/region_view.cc
gtk2_ardour/time_axis_view_item.cc
2014-08-17 15:02:28 -04:00
Robin Gareus
28306d0b06
wrap MIDI timecode at 24h
2014-08-17 15:00:48 -04:00
Robin Gareus
8875cd5a5a
really fix sending MIDI timecode.
2014-08-17 15:00:43 -04:00
Robin Gareus
463981c4cd
fix crash when trying to send MMC of timecode > 255 hours
2014-08-17 15:00:38 -04:00
Robin Gareus
d7a8c58aaa
close dir opened with opendir() - fixes accumulated fd for plugin state saves
2014-08-17 15:00:34 -04:00
Paul Davis
9fd95f2b4e
use Canvas::LineSet for tempolines rather than N different Canvas::Line items plus a cache
2014-08-17 15:00:29 -04:00
Paul Davis
592146822a
fix Canvas::LineSet implementation to support horizontal and vertical linesets
2014-08-17 15:00:23 -04:00
Paul Davis
0ca808f222
allow a drag down over the drop zone to be "reversed" and the region moved back up into existing tracks
2014-08-17 15:00:17 -04:00
Paul Davis
91702c2702
forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is)
...
Conflicts:
gtk2_ardour/editor.cc
2014-08-17 15:00:07 -04:00
Paul Davis
b77f55ca82
change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down
2014-08-17 14:58:24 -04:00
Paul Davis
e81e6841ff
rename Editor::_canvas_bottom_rect as Editor::_canvas_drop_zone; increase its size; remove debug message
2014-08-17 14:58:19 -04:00
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