Commit Graph

3882 Commits

Author SHA1 Message Date
Paul Davis
dd55df80f0 Refactor the non-portable parts of Butler thread into new functions 2013-07-11 14:36:43 -04:00
Paul Davis
0f1ed673d0 Move request pipe setup into separate function 2013-07-11 14:35:26 -04:00
Paul Davis
6a8901eb8d Include pbd/timersub.h in session_midi.cc 2013-07-11 14:31:15 -04:00
Paul Davis
b6afce39a4 Undef SearchPath where needed as it is defined via windows.h
This is pretty annoying, might even be worth renaming the class
2013-07-11 14:27:24 -04:00
Paul Davis
4d71933f5b Add cast for mingw compiler 2013-07-11 14:23:20 -04:00
Paul Davis
742753a996 Don't require liblrdf on windows
This removes dependence on liblrdf, libraptor and libxslt
2013-07-11 14:20:02 -04:00
Paul Davis
1b21eec042 Fix for ambiguity of UUID type on windows 2013-07-11 14:13:55 -04:00
Paul Davis
83ed3d7dcc Use glibmm for modules instead of dlfch.h 2013-07-11 13:58:48 -04:00
Paul Davis
058ebf98b9 Disable increasing open file limit on windows 2013-07-11 13:55:03 -04:00
Paul Davis
157b0e385a Disable peakfile reading and writing on windows for now
There is no point trying to implement this until it can be tested
2013-07-11 13:52:29 -04:00
Paul Davis
27a5a589ed INFINITE is defined via windows.h so undefine it 2013-07-11 13:05:24 -04:00
Paul Davis
5162181767 Fix some usage of non-standard types for portability 2013-07-11 12:05:37 -04:00
Paul Davis
157e21369e Use default constructor for pthread_t in InterthreadInfo ctor 2013-07-11 11:50:25 -04:00
Paul Davis
f47499f157 Use g_random_int instead of ::random for portability 2013-07-11 11:38:46 -04:00
Paul Davis
23bec25bf5 Remove non-portable and unnused header includes 2013-07-11 11:34:37 -04:00
Paul Davis
e842ae539a Fix portability of test and use temporary test 2013-07-11 11:12:39 -04:00
Paul Davis
dc491cffdb Use common test function to create temporary session 2013-07-11 11:11:45 -04:00
Paul Davis
d555b43f5b add new files from test changes by timbyr 2013-07-11 11:10:56 -04:00
Paul Davis
d2ea18c4b6 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-07-11 11:07:13 -04:00
Paul Davis
4994073e93 Use test_search_path function in ardour test 2013-07-11 11:01:36 -04:00
Paul Davis
060b381eb3 Add test_search_path function in libardour testsuite 2013-07-11 11:00:59 -04:00
Paul Davis
7a5118f403 Add --single-tests option to also build each libardour test as a separate program 2013-07-11 10:57:21 -04:00
Paul Davis
83a92a0ea1 disable libardour unit tests that do not function correctly (for windows, at least) 2013-07-11 10:31:47 -04:00
Paul Davis
ac34c5852b remove another instance of xmmintrin.h 2013-07-10 11:04:35 -04:00
Paul Davis
9bdf0a5e79 remove unnecessary include of xmmintrin.h 2013-07-10 11:00:19 -04:00
Robin Gareus
0571e5d6ae Revert "show track-ID in mixer" and "...towards unique track numbers."
This reverts commits:
  ca54ea2b462869bfd9254a493d073ca1e9ad4b8e.
  9e87e058e26b87013e89ddf5d3b7358d50024d60.
2013-07-10 15:27:17 +02:00
Robin Gareus
833ab2ebbd remove unique track number from meterbridge 2013-07-10 15:27:16 +02:00
Robin Gareus
251031e354 disable number display on meterbridge by default 2013-07-10 15:27:15 +02:00
Robin Gareus
ee97942165 use accurate log10 for meter (fast_log2 is unsuitable inaccurate)
fast_coefficient_to_dB() returns a lower bound value, unsuitable
to catch audio peaks. The difference to 20*log10 is as large as 0.4 dB!

The effective speedup of fast_log10 compared to log10f is marginal
(sweep of all 24bit values)

  i686 (1.6GHz Intel core):  2.36 [times faster]
  x86_64 (core2 2.4GHz):     1.63
  x86_64 (I3 2.80GHz):       2.03

the execution time of one log10f() averaged over a
sweep of all 24 bit values

  i686 (1.6GHz Intel core):  0.131 usec
  x86_64 (core2 2.4GHz):     0.033 usec
  x86_64 (I3 2.80GHz):       0.044 usec

PeakMeter::run() is called from dedicated non-rt, no harm done.
2013-07-10 15:27:15 +02:00
Robin Gareus
46c1e573c4 show track-ID in mixer 2013-07-10 15:27:15 +02:00
Robin Gareus
1699be7c98 number/name on meterbridge 2013-07-10 15:27:15 +02:00
Robin Gareus
24f2961cce ...towards unique track numbers. 2013-07-10 15:27:14 +02:00
Robin Gareus
4d49961c93 allow to include solo,mute buttons on meterbridge 2013-07-10 15:27:14 +02:00
Robin Gareus
6aecd192ce remove b0rked attempt at meter-thread regularity.
eventually fall-off should be calculated in the audio-thread, anyway
and this thread will be obsolete..
2013-07-10 15:27:14 +02:00
Robin Gareus
7f47c9c5ec fix RMS+Peak meter for MIDI-tracks 2013-07-10 15:27:14 +02:00
Robin Gareus
5dae93e5ea ignore state-changes during [meter] context-menu popup (gtkmm bug?) 2013-07-10 15:27:13 +02:00
Robin Gareus
5de0aee287 share meter-type among meter instances. 2013-07-10 15:27:13 +02:00
Robin Gareus
58b325de31 prepare meter type unification 2013-07-10 15:27:13 +02:00
Robin Gareus
2277da6e6c test/fix - possible cause of meter-freezing.. 2013-07-10 15:27:13 +02:00
Robin Gareus
4a9e79e53f fix meterbridge metric display switch 2013-07-10 15:27:13 +02:00
Robin Gareus
3a8f5a9770 remember meter type with session 2013-07-10 15:27:13 +02:00
Robin Gareus
bc1a093710 amend to 212d2ac5d (port add/remove signals)
fix deadlock when updating audio/midi connection matrix
during session-close or on exit.

(Note: this still can cause a crash if the route goes away
while the iterator in the connection-matrix still has an index
of it)
2013-07-10 15:27:12 +02:00
Robin Gareus
6e1781e5e3 experimental RMS-meter and peak-signal (vs peak-power) query 2013-07-10 15:27:12 +02:00
Robin Gareus
b2beb11c8d improve timing accuracy for meter-falloff calc. 2013-07-10 15:27:12 +02:00
Robin Gareus
c1f56d4d7c meter line-up and fall-off standard values & names 2013-07-10 15:27:11 +02:00
Robin Gareus
6d09070895 peak-indicator threshold configuration 2013-07-10 15:27:11 +02:00
Robin Gareus
62d5585e34 prepare meter configuration..
- rework metric/tick image cache invalidation
  - flush cache
  - send signal to queue redraws
  (TODO) selectively flush cache // cache per size, style
- add four common line up levels
2013-07-10 15:27:11 +02:00
Robin Gareus
da08f8b1c5 add options to show/hide master and midi tracks;; hide inactive tracks 2013-07-10 15:27:10 +02:00
Robin Gareus
9d0a3b9eaf fix [some] issues when adding/removing output ports 2013-07-10 15:27:10 +02:00
Robin Gareus
42ee64e950 midi meter updates.. 2013-07-10 15:27:08 +02:00