Commit graph

6739 commits

Author SHA1 Message Date
Robin Gareus
2faf401fea implement meter-lineup and VU standard preferences 2013-08-08 15:24:15 -04:00
Robin Gareus
3ec7a620a3 use fixed fall-off time for k-meter 2013-08-08 15:24:15 -04:00
Colin Fletcher
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00
Robin Gareus
d31c0f759c restore session backwards compatibility to 3.3 2013-08-08 15:24:15 -04:00
Robin Gareus
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
Robin Gareus
bd2ddc09ab Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-08-08 15:23:11 -04:00
Robin Gareus
67c5652edb reset meter when meter-point changes 2013-08-08 15:23:10 -04:00
Robin Gareus
dbe31bcf22 add a stripe-pattern to the meters 2013-08-08 15:23:10 -04:00
Robin Gareus
ec99830110 meter-state 17 and 49 + code-comment 2013-08-08 15:23:10 -04:00
Robin Gareus
a4edd1ed7a possible fix for http://tracker.ardour.org/view.php?id=5586 2013-08-08 15:23:10 -04:00
Robin Gareus
b0a239d9f8 rework metering states 2, 6, 18 and 22 2013-08-08 15:23:10 -04:00
Robin Gareus
7157fc1bdd revert functionality of f842e8af2 (meter display in DISK mode) 2013-08-08 15:23:10 -04:00
Paul Davis
b5da0c852f Revert "C++11 Building - Use new style struct field inititializing" (this code
change breaks gcc on several platforms).

This reverts commit bf153e58a5.
2013-08-08 15:23:10 -04:00
Robin Gareus
33ecb22e87 yet another meter+monitoring detail:
"explicit Monitor DISK" + "Transport Stop" + "not track rec-en"
 -> meter is always zero
2013-08-08 15:23:10 -04:00
Robin Gareus
a3d5ba3397 fix metering states 34, 38, 49, 50, 53 and 54
for state descriptions see
http://www.oofus.co.uk/ardour/Ardour3MonitorModesV3.pdf
2013-08-08 15:23:10 -04:00
Robin Gareus
15aa2a224e zero meters for inactive tracks 2013-08-08 15:23:10 -04:00
Robin Gareus
7b3968bf5f RMS meter - reset after calculating new data 2013-08-08 15:23:10 -04:00
Robin Gareus
ae544dc6c7 fix "monitor mode 11"
see http://www.oofus.co.uk/ardour/Ardour3MonitorModesV2.pdf
the overall logic can probably be simplified somewhat
track-rec-enable on -> always monitor input
2013-08-08 15:23:10 -04:00
Robin Gareus
a29dcc5a47 fix input metering:
if meter==input, meter depends on In/Disk
see also 29108187ed
2013-08-08 15:23:10 -04:00
Michael R. Fisher
ea08feec48 Temporary OSX/Clang/C++11 workaround
- Adds a directive that includes <vector> upon specific conditions
- WIP
2013-08-08 15:23:10 -04:00
Michael R. Fisher
0c23314e3f C++11 Building - Use new style struct field inititializing
- clang with std=c++11 enabled was failing here
2013-08-08 15:23:09 -04:00
Michael R. Fisher
5a97ae6bd6 Include evoral/Note.hpp before pbd/compose.h
- This workaround prevents a clang compiler error about template
  visibility
2013-08-08 15:23:09 -04:00
Michael R. Fisher
8f33b7101f Allow compiling with c++11 enabled 2013-08-08 15:23:09 -04:00
Michael R. Fisher
270edc18ad Typo fixed: call class method instead of trying to use as a variable 2013-08-08 15:23:09 -04:00
Paul Davis
6602c6659e finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful 2013-08-08 15:23:09 -04:00
Paul Davis
dc0ee761d2 more plugin state debugging 2013-08-08 15:23:09 -04:00
Paul Davis
25cbd8fb40 tweaks to NO_PLUGIN_STATE logic 2013-08-08 15:23:09 -04:00
Robin Gareus
e3978edabb add option to disable cairo-RGBA overlays for meters. 2013-08-08 15:23:09 -04:00
Robin Gareus
233426a069 Revert new meter types (postponed until after 3.3 release)
This reverts commit ce621d1c8a.
This reverts commit 80aa257481.
2013-08-08 15:23:09 -04:00
Robin Gareus
d2171c25eb add new meter-type enums (amend 80aa2574) 2013-08-08 15:23:09 -04:00
Robin Gareus
d1f45e9b3d add VU and IEC meter DSP (from jmeters) 2013-08-08 15:23:09 -04:00
Michael R. Fisher
02f5acbdc1 Housekeeping 2013-08-08 15:23:09 -04:00
Michael R. Fisher
65f970f0ca set the flag true 2013-08-08 15:23:09 -04:00
Michael R. Fisher
04a1ebbf46 Lazily load bundled LV2 plugins in LV2PluginInfo::discover()
- Do this instead of finding them in the static ctor of LV2World
- Prevents usage of ARDOUR_DLL_PATH environment variable before
  it is set in main(...)
2013-08-08 15:23:09 -04:00
Michael R. Fisher
a096461c5c Formatting only. 2013-08-08 15:23:09 -04:00
Michael R. Fisher
bc4fe5e56a Use a static string variable for dll path.
Making this consistent with all other funtions in this file.
2013-08-08 15:23:09 -04:00
Robin Gareus
a0ac0dca85 implement visual-sensitivity (gray out) for faders
Note: bar-controller sensitivity state is not yet set if
automation-mode changes to/from play, but the widget now
supports that.
2013-08-08 15:23:08 -04:00
Robin Gareus
443c0a2240 minor peak-meter performance tweak
* redraw only missing parts of the outside rectangle,
* don't redraw RMS meter if value has not changed
2013-08-08 15:23:08 -04:00
Robin Gareus
c209078c12 fix compiler warning 2013-08-08 15:23:08 -04:00
Paul Davis
daad42dd6c Revert "Remove non-portable and unnused header includes"
This reverts commit 7ef79d3f4b.
2013-08-08 15:23:08 -04:00
Paul Davis
cebd189239 Remove non-portable and unnused header includes 2013-08-08 15:23:08 -04:00
Paul Davis
6db9411c94 Fix portability of test and use temporary test 2013-08-08 15:23:08 -04:00
Paul Davis
9b73b3c7dc Use common test function to create temporary session 2013-08-08 15:23:08 -04:00
Paul Davis
8c28b3ad07 add new files from test changes by timbyr 2013-08-08 15:23:08 -04:00
Paul Davis
3cf4c56a89 theoretically: "Add new_test_output_dir to common libardour test" but actually features addition of new files, thus losing git history for these two which came from tim mayberry 2013-08-08 15:23:08 -04:00
Paul Davis
6074fbf9e9 Use test_search_path function in ardour test 2013-08-08 15:23:08 -04:00
Paul Davis
52aced73ad Add test_search_path function in libardour testsuite 2013-08-08 15:23:08 -04:00
Paul Davis
20311ed2f3 Use test_search_path to find test data in xpath test 2013-08-08 15:23:08 -04:00
Paul Davis
cdaa32d2c6 Add test_search_path function in PBD testsuite 2013-08-08 15:23:08 -04:00
Paul Davis
d9862364be Add --single-tests option to also build each libardour test as a separate program 2013-08-08 15:23:08 -04:00