Robin Gareus
e125c78070
fix DSP load bounds 0..1 and add unbound API
2015-09-16 18:24:57 +02:00
Robin Gareus
570d92c527
user-sortable recent session list
2015-09-16 18:24:56 +02:00
Robin Gareus
1fb38a416a
add "last modified" column to session-dialog
2015-09-16 18:24:56 +02:00
Robin Gareus
6c43ca5334
partially revert de53fac (pre-sort session list)
...
<glib> header includes and commends remain for later use
2015-09-16 18:24:56 +02:00
Tim Mayberry
119e56e7eb
Add PBD::QPC::initialize to initialize timer and call it from PBD::init
...
Check timer for invalid frequency
Precalculate timer tick rate to save a few instructions
Don't use static variables inside functions to avoid checking for initialization
Use static functions inside anonymous namespace for internal linkage
2015-09-16 23:59:38 +10:00
Tim Mayberry
9bd893a6a2
Make sure the QPC frequency is cached so the timer can be used
2015-09-16 22:50:37 +10:00
Tim Mayberry
7b82277c7e
Don't try and split a region when dragging, should fix bug #6338
2015-09-16 16:28:18 +10:00
Tim Mayberry
faa38a0d29
Use ARDOUR::DSPLoadCalculator in DummyBackend
2015-09-16 11:22:17 +10:00
Tim Mayberry
305f1d73bb
Use PBD::get_microseconds() from pbd/windows_timer_utils.h in DummyBackend
2015-09-16 11:22:17 +10:00
Tim Mayberry
782dbf0e3f
Set max time of DSPLoadCalculator in every cycle in ALSA backend
2015-09-16 11:22:17 +10:00
Tim Mayberry
ccfe3e1015
Use ARDOUR::DSPLoadCalculator in ALSA Backend
2015-09-16 11:22:17 +10:00
Tim Mayberry
449b57d583
Add test for DSPLoadCalculator to libardour tests
2015-09-16 11:22:17 +10:00
Tim Mayberry
158c12eb92
Add DSPLoadCalculator::set_max_time() to set max time based on samplerate and period size
2015-09-16 11:22:17 +10:00
Tim Mayberry
35a1c3b6a5
Put functions inside anonymous namespace and use static for internal linkage
2015-09-16 11:22:17 +10:00
Tim Mayberry
5d9144173b
Mark strings intended for developers/debugging as not for translation
2015-09-16 11:22:17 +10:00
Tim Mayberry
d007fc05b1
De/Initialize MMCSS on windows in PBD::init/cleanup instead of in PA Backend
2015-09-16 11:22:16 +10:00
Tim Mayberry
091c4ed3a7
Move Windows MMCSS related utility functions into libpbd
2015-09-16 11:22:16 +10:00
Tim Mayberry
76a0c823ca
Add PBD::DebugBit for debugging thread related debugging output
2015-09-16 11:22:16 +10:00
Tim Mayberry
d76fe212b7
Move MMCSS related utility functions into PBD namespace
...
In preparation for moving to libpbd
2015-09-16 11:22:16 +10:00
Tim Mayberry
f58e3abdbe
Perform QPC timer check on windows in PBD::init when PBD_TEST_TIMERS env is defined
2015-09-16 11:22:16 +10:00
Tim Mayberry
f4cb4e479d
Rename PBD::QPC::get_timer_valid to check_timer_valid and perform timer test
...
I'm not sure if this test is going to be effective as I don't have hardware to
test on at the moment. As noted in the documentation, Windows XP should be the
only OS where QPC uses a timer source that is non-monotonic(multi-core with
non-syncronized TSC).
2015-09-16 11:22:16 +10:00
Tim Mayberry
cd05d46c00
Add windows specific test for pbd/windows_timer_utils.h API
2015-09-16 11:22:16 +10:00
Tim Mayberry
a88b2da6a9
Fix PBD::MMTIMER::reset_resolution and add some documentation
...
timeEndPeriod must be called with the same timer resolution value used in
timeBeginPeriod. When the process exits the timer resolution is restored anyway
so this is not very important.
2015-09-16 11:22:16 +10:00
Tim Mayberry
62f75b8b16
Remove glib timer test from pbd testsuite
...
There are no test assertions and it takes a long time to execute the test so
just leave it disabled for now.
2015-09-16 11:22:16 +10:00
Tim Mayberry
3f5c01e4eb
Move Windows timer utility functions from PA backend into libpbd
2015-09-16 11:22:16 +10:00
Tim Mayberry
4ffe8ffc0f
Put Windows timer functions into PBD namespace in preparation for moving them to libpbd
...
Add functions for get/set the Multimedia timer resolution, although we are
really only interested in the minimum, this will facilitate testing
Put timer utility functions inside nested namespaces as they are platform
specific
2015-09-16 11:22:16 +10:00
Tim Mayberry
4330db1aa7
Update timestamp types in CycleTimer class to be signed
2015-09-16 11:22:16 +10:00
Tim Mayberry
08e18a0cb4
Move implementation for DSPLoadCalculator back into header
...
It can be inline now that it is much simpler
2015-09-16 11:22:16 +10:00
Tim Mayberry
f5e7aa11f9
Use same algorithm as CA and ALSA backends in DSPLoadCalculation
...
Stop using an averaging of the values until we can establish whether it is
really necessary.
2015-09-16 11:22:16 +10:00
Tim Mayberry
cf88bbc472
Add check for invalid timer values from the DummyBackend
...
Needed for systems where the Windows QPC timer returns erratic values
2015-09-16 11:22:16 +10:00
Tim Mayberry
b2a7393553
Change types in DSPLoadCalculator to signed integer after change in utils::get_microsecond
2015-09-16 11:22:16 +10:00
Tim Mayberry
a974659504
Check return value of windows timer functions and handle errors
...
Change return type of utils::get_microseconds to signed int and return -1 when
failing to read timer
2015-09-16 11:22:16 +10:00
Robin Gareus
c510d8a49d
prepare time column in recent session
2015-09-16 01:28:55 +02:00
Robin Gareus
f1be9114c2
inspect snapshot for its info (not parent)
2015-09-16 01:28:55 +02:00
Robin Gareus
de53fac303
pre-sort recent-sessions by modification time - #6575
2015-09-16 01:28:55 +02:00
Paul Davis
50a6487e77
move speed quietning code into Delivery, where it belongs.
...
Note: I find the -12dB reduction too much of a reduction.
2015-09-15 17:01:12 -04:00
Paul Davis
af2b8c73b9
expose the new use monitor fades option
2015-09-15 16:35:37 -04:00
Paul Davis
601a34521c
add an Amp to Delivery, remove it from Send, make use of this in various ::run() methods
...
Delivery::_amp now will handle monitor-related delicks assuming the Session::config.get_use_monitor_fades() is
true.
2015-09-15 16:35:37 -04:00
Robin Gareus
fdcc209354
remove unused variable
2015-09-15 21:21:09 +02:00
Robin Gareus
cf9176c3bb
don't allow to focus sidebar checkboxes - fixes #6445
2015-09-15 21:21:01 +02:00
Robin Gareus
fc74894def
another note-off fix.
...
For nearly coincident note-on the sequence does not matter,
but note-off must be sent before a new note-on in strict
order (could be the same note).
2015-09-15 17:50:27 +02:00
Robin Gareus
93cd0d17e4
display active peak-builds
2015-09-15 17:50:27 +02:00
Robin Gareus
4b20e719a8
prepare displaying peakfile queue-len
2015-09-15 17:50:27 +02:00
Paul Davis
bed85f98d1
logic rearrangement to avoid unnecessary call to Route::monitoring_state() in instrument/generator tracks
2015-09-15 09:08:38 -04:00
Paul Davis
392836a7d2
NO-OP: comment clarification
2015-09-15 09:06:16 -04:00
Paul Davis
952443a4b7
NO-OP: parenthesis and brace style
2015-09-15 09:05:08 -04:00
Paul Davis
655c581ef2
expose transport fade option
2015-09-15 09:01:26 -04:00
Paul Davis
2b1a30ca96
only apply transport declicking if requested to do so (default is to do so)
2015-09-15 09:00:50 -04:00
Paul Davis
563d9dfb65
add 2 new session properties related to implicit fades/gain ramps
2015-09-15 09:00:50 -04:00
Paul Davis
d92fceabb0
use an explicit black list of route names that require numbering.
...
This replaces an attempt to check port names which fails for a number of reasons.
2015-09-15 09:00:50 -04:00