Commit graph

7454 commits

Author SHA1 Message Date
Paul Davis
2ed2ba28ec extend DEBUG_TRACE to waves_midi_event 2014-10-29 23:17:30 -04:00
Paul Davis
2c1c92e8de move new Waves backend debug bits into libs/pbd/debug.cc because backends are dynamically loaded AFTER command line parsing.
See comments in libs/pbd/debug.cc for more details
2014-10-29 22:34:12 -04:00
Paul Davis
4bc383e663 make previous commit actually build (bit rot w.r.t. _pm_device_id, and more) 2014-10-29 22:08:53 -04:00
Paul Davis
8e60c59e5d convert "COMMENTED DBG LOGS" noise into DEBUG_TRACE messages, and std::cerr/cout messages into PBD::error 2014-10-29 21:52:54 -04:00
Paul Davis
cdc46cef1e add new debug bit definitions and declarations for Waves backend 2014-10-29 21:52:54 -04:00
Paul Davis
4f59429ad5 Revert "alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates"
This reverts commit 55cd0a4a3393e6b5e6e5091c5bd5a276d71a8656.
2014-10-29 16:28:28 -04:00
Paul Davis
4800934e04 alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates
Conflicts:
	libs/canvas/rectangle.cc
2014-10-29 16:28:28 -04:00
Greg Zharun
7d8302194f [Summary] Fixed issue, when tracks were not connected to physical inputs 2014-10-29 12:58:07 +02:00
Robin Gareus
40d91a9997 stopgap solution for VST plugins that call audioMasterWantMidi during effOpen
audioMasterWantMidi needs plugin _info, but _info is currently only
available after instantiating the plugin in LXVSTPluginInfo::load().

vstfx_instantiate() -> effOpen -> [plugin] -> vst_callback(..,opcode=6,..) -> crash
2014-10-22 09:10:51 -04:00
Robin Gareus
5b0363fc2a fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-22 09:07:37 -04:00
Paul Davis
0a7a622dab when cancelling an import, call DropReferences so that the Session forgets about the new sources.
Not doing this leaves the sources in the session list and then the session fails to open on next load
because the files are not there.

Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.
2014-10-16 10:37:34 -04:00
Paul Davis
957de80389 remove debug output 2014-10-16 10:37:34 -04:00
Paul Davis
97620769be when flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded/ContentsChanged signals first so that when LayersChanged is sent, the receivers know about all the new regions 2014-10-16 10:37:34 -04:00
Paul Davis
465e70d098 add mutex/lock to all Evoral::SMF methods that use _smf/libsmf, to avoid inadvertent corruption via multithreaded access.
Serialization of Session::save_state() will already protect against most of this, but there is really no
good reason why Evoral::SMF's API should require single-threaded/explicit serialization.
2014-10-16 10:37:34 -04:00
Robin Gareus
8d34ba9ae9 allow zero-latency sessions
e.g. sessions with disconnected master-out,
or Dummmy (both jack and ardour) with no latency.
2014-10-16 10:37:34 -04:00
Paul Davis
03797765c6 Containers should not consider the size of invisible items when computing their own bounding boxes.
This fixes issues related to the rulers container believing it was taller than it actually is, and possibly other issues also
2014-10-16 10:37:34 -04:00
Paul Davis
dcd2f98f7f tweak implementation of Session::audible_frame() to be a little more defensible, and correct problems with record align/playhead position while disconnected from physical outputs 2014-10-16 10:37:34 -04:00
Paul Davis
134f00ecaf subtle changes to accomplish two goals (1) playhead should stop where the user pressed stopped (2) captured regions should end where the playhead ends 2014-10-16 10:37:34 -04:00
GZharun
d9da8bf287 [Summary] Added graphics which Igor provided 2014-10-16 15:42:31 +03:00
Robin Gareus
5f7a41d413 add a Dummy Backend Loopback mode:
Conflicts:
	libs/backends/dummy/dummy_audiobackend.cc
	libs/backends/dummy/dummy_audiobackend.h
2014-10-16 05:34:43 -04:00
Robin Gareus
b2fb61aaa1 revert 8ca546e - original version was correct (note added) 2014-10-16 05:34:43 -04:00
Robin Gareus
df14c506b4 fix LTC generator latency compensation. 2014-10-16 05:34:43 -04:00
GZharun
e09e36afde [Summary] Optimized Tracks removing/adding but redundant actions cut off 2014-10-16 11:57:09 +03:00
GZharun
fc6429cad4 [Summary] Removed redundant actions. This will be handled during route destruction 2014-10-15 11:18:40 +03:00
GZharun
0969e46e4a [Summary] Reworked tracks deletion algorithm to remove multiple tracks at once and do common actions only once for all deleted tracks 2014-10-14 13:33:50 +03:00
Paul Davis
fc096e91ed ensure registration of all SessionEvent types 2014-10-10 14:05:27 -04:00
Paul Davis
dd1a701f21 make output of SessionEventManager::dump_events() a bit more readable 2014-10-10 14:05:27 -04:00
Robin Gareus
687be0369f cleanup unused nested regions:
This and two previous commits fixes #5979
2014-10-10 14:05:27 -04:00
Robin Gareus
6618a93e80 Properly count nested regions 2014-10-10 14:05:27 -04:00
Robin Gareus
d0aa50de7a re-reference regions during uncombine - #5979 2014-10-10 14:05:27 -04:00
Robin Gareus
332cb302c3 fix dup free in waves/midi:
The PortMidi queue just holds a pointer to the midi events.
The same Midi events are free()d during WavesMidiBuffer::clear()
which is called at cycle start for every buffer and in the dtor
of the WavesMidiBuffer.
2014-10-10 14:05:27 -04:00
Robin Gareus
da481b2930 fix wavesbackend midi timing 2014-10-10 14:05:27 -04:00
Robin Gareus
289b783597 initialize some uninitialized vars - closes #5974 2014-10-10 14:05:27 -04:00
Robin Gareus
70ad1c354d fix crashes for plugin using maxBlockLength during latency compute. 2014-10-10 14:05:27 -04:00
Paul Davis
ad105741f1 avoid a set of calls to gettext() and/or cousins from global constructor scope 2014-10-10 14:05:27 -04:00
Robin Gareus
a341c44095 fix VST user cache typo: info/blacklist 2014-10-10 14:05:27 -04:00
Robin Gareus
5d78eb24fb use single newline char in VST info files.
windows writes \r\n to non-binary files and the VST
info parser does not handle that case.
2014-10-10 14:05:27 -04:00
Robin Gareus
35f46455dc update VST scanner lookup (prepare for moving to BINDIR)
Conflicts:
	libs/ardour/plugin_manager.cc
2014-10-10 14:05:27 -04:00
John Emmas
00840230b9 When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is 2014-10-10 14:05:27 -04:00
Paul Davis
be83ea9f70 fix logic error in CARBON_FLAT_INCLUDES logic (previous commit) 2014-10-07 16:34:54 -04:00
Paul Davis
d636e1df90 improved macros for handling Mavericks-style Carbon headers; remove redundant extra addition of --stdlib=libc++ in CXXFLAGS on mavericks 2014-10-07 16:16:57 -04:00
Paul Davis
a4aa74a5ee add correct copyright statements to all files in Waves backend except those derived from portaudio/portmidi
This follows the letter sent from Waves Audio Ltd. to Paul Davis dated February 20th 2014 agreeing to release this code
under the GNU Public License, version 2, with copyright owned by Waves Audio Ltd
2014-10-07 16:09:29 -04:00
Paul Davis
3486eb5108 Session should be using per-location signals for Location property changes
This fixes the interaction between dragging (e.g.) a skip range and the loop range
2014-10-07 09:07:14 -04:00
Valeriy Kamyshniy
218f7eb60e [Submit] Fader should not swallow the button press 2014-10-02 15:32:14 +03:00
Valeriy Kamyshniy
4e28348e55 [Summary] Setting loop is mode to true 2014-10-02 14:45:47 +03:00
GZharun
25b8065e60 [Summary] Added session end marker 15 second shift after the last regin 2014-10-02 11:41:47 +03:00
Paul Davis
b22ed9cc9d add default session range of 5 minutes when creating a new session.
Odd: comment for this was still there but not the code. Missing in Ardour also, even master branch
2014-10-01 21:06:26 -04:00
Paul Davis
d6afce9c0f emit MIDI scene change i/o activity signals in the right places 2014-10-01 17:50:55 -04:00
Paul Davis
b0eed6c537 make JACK backend report Midi-Through ports in physical port lists to make testing easier (it is arguably right anyway) 2014-10-01 17:50:55 -04:00
Paul Davis
418f992eae extend previous commit to allow separate input + output MIDI activity for scene change ports 2014-10-01 17:50:55 -04:00