Commit graph

10783 commits

Author SHA1 Message Date
Robin Gareus
00f26394a9 use dedicated buffers for route (and track)
"scratch buffers are by definition scratch and their contents are undefined at all times"
"silent buffers are by definition all-zero and should not be used for real data"

But track & route were using those for actual data; plugins (which may run
in the same thread and may get the same buffers) use them for scratch thereby
overwriting real data.

In particular get_silent_buffers() (used by LadspaPlugin::connect_and_run)
clears the buffer which can holds real data:
e.g. via  Route::passthru_silence() -> plugin1 -> plugin2 (clears output of plugin1)
2013-07-30 16:55:33 +02:00
Robin Gareus
44fc92c33d disconnect AuxSend connection when deleting bus
fixes crash:
 - add bus
 - aux-send a signal to that bus
 - delete bus
 - add another bus
 - aux-send a signal to "another bus"
 - click "Aux Send" button on "another bus"
 - crash
2013-07-30 15:12:32 +02:00
Robin Gareus
4af022c7f6 Revert "fix issue with generator plugins and no-roll disk monitoring"
This reverts commit bd34ab04cd.
2013-07-30 03:02:45 +02:00
Robin Gareus
bd34ab04cd fix issue with generator plugins and no-roll disk monitoring 2013-07-30 02:27:06 +02:00
Paul Davis
47ec32fa15 Merge branch 'clang-rebased' of https://github.com/axetota/ardour 2013-07-29 16:03:50 -04:00
Michael Fisher
6fd7ec3fc9 Return an empty string instead of a bool 2013-07-29 14:43:12 -05:00
Michael Fisher
cdc9d95e92 Cast param for std::time to a pointer of time_t
- bleeding clang (trunk 186535 v3.4) fails here
2013-07-29 14:43:12 -05:00
Michael Fisher
a8456b3766 Proper OSX/CLANG/CXX11 support in stl_delete.h
- replaces fix in 066df0d218
- Check if _LIBCPP_VECTOR is defined for vector_delete.
  This is defined in libc++'s headers which Apple is using
  instead of libstdc++
2013-07-29 14:43:11 -05:00
Michael Fisher
c442fea139 Housekeeping, code style 2013-07-29 20:05:11 +02:00
Michael Fisher
d391989444 Moving Mclk locating code to ticker.cc. Housekeeping 2013-07-29 20:05:11 +02:00
Michael Fisher
3538fa8442 Add method to send a song position pointer message 2013-07-29 20:05:11 +02:00
Michael Fisher
79d134ca78 Send a song position pointer with mmc and fullframe fake locating 2013-07-29 20:05:10 +02:00
Michael Fisher
20189330d1 Add relavent OSX midi options in the startup dialog
- MIDI driver options are now "None" and "coremidi" on OSX
- If coremidi is selected, jack will start with midi activated
- Requires Jack OSX version 0.90 beta 15 (or another version that
  supports midi
2013-07-29 20:05:10 +02:00
Robin Gareus
741bb8e7fb tweak meterbridge-label height 2013-07-29 20:02:57 +02:00
Robin Gareus
c934062403 change default BBC-meter color 2013-07-29 19:43:34 +02:00
Robin Gareus
059df390e6 fix compiler warning 2013-07-29 19:43:19 +02:00
Robin Gareus
7f4e13a2a5 use K-20 meter as default master bus 2013-07-29 19:43:05 +02:00
Robin Gareus
58f4d66899 add option to resize meterbridge track-labels 2013-07-29 19:42:41 +02:00
Robin Gareus
5cedc24517 explicitly re-init meter when theme changes.
fixes:
14:14 < oofus> rgareus: BBC meter colour changed, all meters
               except the one on the tool bar picked it up
2013-07-29 16:31:33 +02:00
Robin Gareus
3ab25dc6f3 change metric-scale on the sides of meterbridge when scrolling 2013-07-29 15:26:36 +02:00
Robin Gareus
2faaf71573 allow to configure color of BBC meter 2013-07-29 03:54:43 +02:00
Robin Gareus
60dde29038 left/right meter marks in mixer (narrow red-stripe) 2013-07-28 22:34:28 +02:00
Robin Gareus
a2ceba6fbe change default meter-fall-off to 13.3 dB/sec 2013-07-28 21:34:01 +02:00
Robin Gareus
893e26cc68 use 3px for peak-hold in LED mode -> display 2 bright lines 2013-07-28 21:24:27 +02:00
Robin Gareus
cbcde35376 fix diamond inheritance - gtkmm main class is sigc::trackable 2013-07-28 20:43:21 +02:00
Robin Gareus
cd28d62b26 fix compiler warnings. 2013-07-28 20:32:52 +02:00
Robin Gareus
d1c2d53afe tweak meter-LED style 2013-07-28 18:29:39 +02:00
Edgar Aichinger
4c1b0fcb2b update german translation for libardour
fixes x42's screwup with prev commit.
2013-07-28 16:50:26 +02:00
Edgar Aichinger
ec9d27f48c update german translation 2013-07-28 16:45:42 +02:00
Robin Gareus
de4c5ba2af k-meter +4 marks 2013-07-28 15:55:36 +02:00
Robin Gareus
a02e0e6c8d fix meterbridge window on OSX 2013-07-28 15:54:13 +02:00
Robin Gareus
16339aa446 add dedicated line-up level for IEC1/DIN meter (15dbFS) 2013-07-28 03:31:44 +02:00
Robin Gareus
92d2075d83 make LED meter style optional 2013-07-28 03:31:39 +02:00
Robin Gareus
184fd983d0 tweak meter-metric red-boxes/stripes 2013-07-28 03:31:34 +02:00
Robin Gareus
1ce2a1d638 add red-boxes to meter-marks and fix Nordic scale color 2013-07-27 22:44:38 +02:00
Robin Gareus
362e774878 update meter marks and colors.. 2013-07-27 21:26:22 +02:00
Robin Gareus
40d3bb7584 Aux-sends do not have a GUI - fixes #5621 2013-07-27 15:02:19 +02:00
Robin Gareus
5601ae97da some more VU-meter tick marks.. 2013-07-26 22:57:39 +02:00
Robin Gareus
069fd15c79 cache shaded meter-background regardless of color
previously, shaded patterns were assumed to have different colors as well.
2013-07-26 17:17:05 +02:00
Robin Gareus
cd35040535 fix meter background redraw issue #5601 2013-07-26 17:10:05 +02:00
Robin Gareus
0a68e7bee7 fix typo for 0VU = 8dBu in config 2013-07-25 23:33:11 +02:00
Robin Gareus
908ee3bfea cache midi metrics depending on meter-type and data-type(s) 2013-07-25 20:56:25 +02:00
Robin Gareus
ce1adc65b7 remember meter-background highlight when type or width changes.. 2013-07-25 19:55:26 +02:00
Robin Gareus
43bd836778 [re]implement horizontal meter 2013-07-25 19:04:52 +02:00
Robin Gareus
d7a52dc0fe vtl: replace Ardour with Program-Name in messages 2013-07-25 14:19:28 +02:00
Robin Gareus
953e4aba54 prepare horizontal meters (level-meter H/V Box abstraction) 2013-07-25 14:18:39 +02:00
Robin Gareus
90ea64d1fc set midi-metric ticks depending on meter-type 2013-07-25 13:06:58 +02:00
Robin Gareus
5ad4b3cd7a VU meter label color&shadow tweak by the_CLA 2013-07-25 11:06:58 +02:00
Robin Gareus
ec0e92c3ab tweak label alignment 2013-07-25 11:03:36 +02:00
Robin Gareus
5fca8c9854 Don't allow to deactivate meter.
before this change:

1) switch to 'custom' meter point,
2) deactivate meter processor.

-> meters does not run regardless of meter-point
-> meter can only be re-nabled in 'custom' mode
2013-07-25 10:59:24 +02:00