Robin Gareus
ccf558f482
standardize VST Callback debug message print
2015-09-22 21:02:27 +02:00
Robin Gareus
30713adb16
add debug flags for VST Callbacks
2015-09-22 20:37:35 +02:00
Robin Gareus
f5b3ad18cf
PBD::Debug to stdout
...
fixes debug output on windows. std::cerr is lost,
only std::cout, printf() and fprintf(stderr, ..) work.
2015-09-21 23:08:45 +02:00
Robin Gareus
621e9992a7
amend 01403dc (VST Pin connected)
2015-09-21 23:01:59 +02:00
Todd Naugle
233c144c2c
Update RouteGroup property defaults.
...
This is part of a larger fix for #6450 . Previously new route groups were
created with different default properties depending on which code created
the new group. The group tab method had all properties set and that is now
going to be the default.
2015-09-21 14:49:31 -05:00
Robin Gareus
cba31db6fe
processor-box: explicitly check for "Amp" (Fader)
2015-09-21 13:14:29 +02:00
Robin Gareus
77ee3d18a6
add includes for g_open()
2015-09-21 11:06:34 +02:00
Ben Loftis
df0544c4e6
fix vst plugin; not sure if this was the intention, but it builds now.
2015-09-21 10:10:07 +02:00
Len Ovens
b1424dab79
Vpot assign buttons don't do anything, don't light LEDs either.
2015-09-21 10:04:06 +02:00
Len Ovens
47976ed4fa
Make Mackie control surface LEDs for modifier keys only light while pressed. ( fixes #6601 )
2015-09-21 10:03:56 +02:00
Robin Gareus
01403dc1dd
fix VST audioMasterPinConnected callback
2015-09-21 02:20:22 +02:00
André Nusser
6a248b61f0
fix duplicating multiple selected regions - fixes #6202
2015-09-20 22:22:39 +02:00
Robin Gareus
7b4aa97145
explicit string.h include for memset()
2015-09-20 20:24:49 +02:00
Robin Gareus
70bed9d6a0
silence detection: include fades.
...
Fades must be outside of regions above threshold in order
to properly split drum-hits or fast transients in general.
2015-09-20 19:40:32 +02:00
Robin Gareus
ac078fd93f
fix sndfilesource::open return value typo.
2015-09-20 18:38:52 +02:00
Robin Gareus
8bee256e4f
prepare LTC File Reader
2015-09-20 18:35:29 +02:00
Robin Gareus
861d6f81a3
add silence-stripping fade constraints
...
Ensure that non-silent regions are at least
as long as the selected fade-duration.
2015-09-20 01:28:15 +02:00
Robin Gareus
bd5b97e964
Dummy: add a CC only test-sequence
2015-09-19 19:00:43 +02:00
Robin Gareus
91d786a078
fix silence-strip process report
2015-09-19 19:00:42 +02:00
Tim Mayberry
2e9e8d3b33
Fix windows test to also pass under wine
...
It looks as if the default timer resolution for applications running under wine
is different than Windows so just test that the minimum timer resolution is
below a certain amount rather than checking before and after calling
timeBeginPeriod
2015-09-19 10:59:39 +10:00
Robin Gareus
555ef50521
no c99
2015-09-19 01:22:14 +02:00
Robin Gareus
7648824773
speed-up smf_track_delete() from O(N^2) to O(n)
2015-09-19 00:38:32 +02:00
Robin Gareus
a5141fdaf3
NOOP - SMF debugging.
2015-09-18 17:37:36 +02:00
Robin Gareus
21b720fddc
Midi CC events have no event-ID
...
Prior to this change the last iterator's ID was used. (event's ID was
not updated for CCs)
2015-09-18 17:37:03 +02:00
Robin Gareus
8b2fb88f15
fix ever increasing MIDI event IDs
...
Iterating over a const Midi-Sequence calls Evoral::Sequence::set_event(),
which in turn used Evoral::Event::operator=() which always created
a new event-ID (create copy of the event).
Issues fixed:
- Saving *unmodified* MIDI produced new event-IDs on every save;
files changed with every save. - greetings to Deva.
- all [GUI] operations that use IDs to refer to notes e.g. undo.
invalid undo-history.
Also clarify assignment operator name. Prefer explicit assign() over =.
2015-09-18 17:36:15 +02:00
John Emmas
c12e8cc47c
Modify Strip Silence so that it can't create regions with -ve lengths
...
AFAICT this could happen if a region's end time (on the timeline) was earlier than the end time in the actual recording. This could cause a situation where the last block of detected silence would have an end time greater than the end tome for the region being processed. Strip Silence would create its new regions - but the last one it created would usually come out with a negative duration.
2015-09-18 10:44:07 +01:00
John Emmas
d609217c55
Make sure that those recently moved functions will be visible if they're needed outside of libpbd
2015-09-18 10:27:27 +01:00
John Emmas
44ea59495c
MSVC projects - accommodate some modules that recently got moved or removed
...
(mostly these got moved out of the PortAudio backend and into libpbd)
2015-09-18 10:25:11 +01:00
Paul Davis
c1d6a2fd92
add string_compose argument specializations so that empty std::string and empty C strings are handled as intended
2015-09-17 17:16:23 -04:00
Ben Loftis
f3a1ac21cb
associate label more closely with VST path button. the plugin tab needs a complete layout rethink, someday
2015-09-17 16:07:40 -05:00
Tim Mayberry
e44212321e
Add test to libpbd to check PBD::touch_file and pbd/gstdio_compat.h
...
GStatBuf is not usable on 32 bit Windows without the redefinition in
pbd/gstdio_compat.h so add a test to check for the correct behavior of
g_stat and g_utime on all platforms now that the issue is fixed.
2015-09-17 23:26:38 +10:00
Robin Gareus
95b55c7346
fix g_lstat()
2015-09-17 15:01:26 +02:00
Robin Gareus
7ac691ec82
use pbd's gstdio compatibility wrapper
2015-09-17 14:37:57 +02:00
Robin Gareus
c90bab4d4e
add glib/stdio compat wrapper for mingw64-w32
2015-09-17 14:36:47 +02:00
Paul Davis
96cc1dbe80
Revert "add an Amp to Delivery, remove it from Send, make use of this in various ::run() methods"
...
This reverts commit 601a34521c .
2015-09-16 18:38:44 -04:00
Tim Mayberry
74db5abc7e
Add ardour/types.h to ardour/parameter_descriptor.h for AutomationType
2015-09-16 16:55:17 -04:00
Robin Gareus
1691e965a5
update reported DSP load for ALSA & Dummy
2015-09-16 18:24:57 +02:00
Robin Gareus
1c43383e92
CoreAudio: use libardour provided DSP load calc.
2015-09-16 18:24:57 +02:00
Robin Gareus
e125c78070
fix DSP load bounds 0..1 and add unbound API
2015-09-16 18:24:57 +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
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