Commit graph

16467 commits

Author SHA1 Message Date
Robin Gareus
8e9bb2be46 fix thinko with region-gain time offset. 2015-05-01 14:30:49 +02:00
Robin Gareus
840b871245 don’t count silent [x]runs if there’s no session. 2015-04-30 22:55:42 +02:00
Robin Gareus
e65e77e360 update region-gain-line time-converter. fixes #6293 2015-04-30 22:54:18 +02:00
Robin Gareus
2b294f0b43 add a sanity check 2015-04-30 21:15:35 +02:00
Robin Gareus
6366d21399 more meter-change UI optimization
the meter widgets keep track of configuration
and type. There is no more need to force an update.
2015-04-30 19:19:31 +02:00
Robin Gareus
4dc29153a2 skip [duplicate] meter re-packing. 2015-04-30 19:19:31 +02:00
Robin Gareus
0e85408c59 cleanup display suspend. 2015-04-30 19:19:31 +02:00
John Emmas
a3209b9b91 Correctly dereference 'fxbuf' when building with MSVC 2015-04-30 18:17:24 +01:00
John Emmas
fe3aafec1c When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand 2015-04-30 18:17:23 +01:00
Robin Gareus
9b385571e7 fix over-optimzation in e3375c3.
Some users of DisplaySuspender expect an implicit redisplay.
2015-04-30 18:28:27 +02:00
Robin Gareus
e3375c309a suspend editor redisplay during batch changes
(major speed-up when changing all meters)
2015-04-30 18:01:30 +02:00
Robin Gareus
ae38128f88 session: add signal to indicate batch updates
…to tell the UI to not redraw.
2015-04-30 17:58:33 +02:00
Robin Gareus
af884b4174 meter-change: don’t update track-headers if not needed 2015-04-30 17:30:10 +02:00
Robin Gareus
e0747bdb79 x-fade pixel hunt 2015-04-30 02:32:42 +02:00
Robin Gareus
49ffcd0d9d clamp DSP load displsy 100% & relax LPF. 2015-04-30 02:00:50 +02:00
Robin Gareus
e3cd57ecb6 DSP load calculation: favor peak over average. 2015-04-29 21:27:37 +02:00
Paul Davis
729bc00f13 no need to close a file that will not be removed (and has no name) 2015-04-29 15:01:33 -04:00
Robin Gareus
89f5e22896 fix double precision abs value computation 2015-04-29 19:56:35 +02:00
Robin Gareus
84aab564b4 enable fade-out display by default in A4.
..because fade outs are implicit in A4.
Eventually the GUI needs to set_show_background_fade() as needed.
2015-04-29 19:55:53 +02:00
Robin Gareus
8ed04e2155 remove AU crashlog assert.
in case $HOME/Library/Caches/Ardour4/au_crashlog.txt
is not writeable, just log to stderr.
2015-04-29 18:43:32 +02:00
Robin Gareus
fb3d1a6f24 x-run counter reset & typo 2015-04-29 15:47:51 +02:00
Paul Davis
c36504f2ec NOOP: fix indentation 2015-04-29 09:05:15 -04:00
GZharun
1a84fa3c42 [Summary] Should have been committed with previous: made background fade optional and not shown by default 2015-04-29 08:59:24 -04:00
Paul Davis
80ae2bbe23 fix issue with manual merge conflict 2015-04-29 08:23:13 -04:00
Paul Davis
2828dcaaf9 make computation of OS X pango text width correction less intrusive/more efficient.
Compute the correction only once after each font specification setting.

Conflicts:
	libs/canvas/canvas/text.h
2015-04-29 08:20:31 -04:00
Paul Davis
a83050a255 manually apply grygorii's API to manage a correction for pango errors in text size computation on OS X 2015-04-29 08:19:22 -04:00
Paul Davis
5ab699f898 manually apply grygorii's waveform amplitude implementation 2015-04-29 07:54:21 -04:00
GZharun
96371c8327 [Summary] Fixed issue when width request from Cavas text returned old width value
[Reviewed by] Paul Davis

Conflicts:
	libs/canvas/canvas/text.h
2015-04-29 07:27:34 -04:00
Paul Davis
84cb8913b0 change placement of ruler divider so that the lower line is at the specified height, rather than the upper 2015-04-29 07:26:29 -04:00
Paul Davis
697d8a2732 do the right thing when TrackingText::offset is changed 2015-04-29 07:26:18 -04:00
Paul Davis
d9cb8a807e Fix method hiding in Canvas::Text 2015-04-29 07:25:58 -04:00
Paul Davis
2673ef4af4 change ruler rendering to change tick heights and move text down 2015-04-29 07:23:36 -04:00
Paul Davis
065c6d813e add missing API 2015-04-29 07:22:48 -04:00
Paul Davis
4cf402bdcf add API to Ruler to optionally draw a divider (2 single pixel horizontal lines) at some position within the vertical extent of the ruler 2015-04-29 07:22:36 -04:00
Paul Davis
38728f0835 correct implementation for Rectangle::vertical_fraction() 2015-04-29 07:22:21 -04:00
Paul Davis
59ce8663f9 add Rectangle::vertical_fraction() as a convenience method
Conflicts:
	libs/canvas/rectangle.cc
2015-04-29 07:22:05 -04:00
Robin Gareus
6e335ca5d9 add xrun counter to status-bar (currently no reset) 2015-04-29 03:10:27 +02:00
Robin Gareus
cd63d97f65 add xrun counter API to session 2015-04-29 03:09:17 +02:00
Robin Gareus
c4696fe2d5 emit an xrun if the process_lock is taken 2015-04-29 01:33:23 +02:00
Robin Gareus
f410705c3a delegate signal emission to dedicated thread.
This works around abysmal performance (~.15ms) of
boost::function and boost::bind (in PBD::Signal).

The overall load is probably higher but the realtime
thread remains unaffected.
2015-04-29 00:35:35 +02:00
Ben Loftis
1df7b4ffb6 missing keybinding: zoom to session. needs testing on Mac and Windows 2015-04-28 16:35:16 -05:00
Robin Gareus
9a94688d11 make tape tracks draw something. 2015-04-28 16:08:20 +02:00
Robin Gareus
e9bb1dc2bf tape-track diskstream fixes
Due to the change to use a 64bit timeline (int64 as opposed
to previously [unsigned] pframes_t) many cases special to tape-tracks
no longer work.
e.g. region->length() can returns -1, rather than INT64_MAX.
which breaks ‘overlap’ in Evoral::Coverage. which in turn
breaks tape track’s use of ::find_next_region().

This commits begins the slow process to move away from relying
on integer overflow to wrap negative numbers for tape tracks and
restores basic functionality.

Still various edge cases pertaining tape tracks remain. particularly
when changing the session start-time and moving destructive regions.
2015-04-28 16:08:19 +02:00
Robin Gareus
e3a2bc6a36 Track mode needs to be set before loading Track state
parent Track::set_state() sets the diskstream
and ::set_diskstream() depends on the track mode.

fixes Tape tracks on session load
2015-04-28 16:08:19 +02:00
Robin Gareus
ba0f7482c3 prefer explicit cast over terseness. 2015-04-28 14:34:18 +02:00
Robin Gareus
1b1cbec00b prevent live loops (format negative BBT)
can happen with empty tape-tracks
2015-04-28 03:07:11 +02:00
Ben Loftis
4aace9be68 new actions: allow user to set session start and end to playhead location 2015-04-27 15:59:03 -05:00
Robin Gareus
5291400878 case insensitive VST plugin file extension - fixes #6285
2nd attempt.
2015-04-27 18:23:51 +02:00
Robin Gareus
7c09182d75 remove a dead assignment 2015-04-27 17:45:25 +02:00
Robin Gareus
d75b27f6dc allow to compile PBD::Signals w/o connection debugging 2015-04-27 17:19:58 +02:00