13
0
Commit Graph

16969 Commits

Author SHA1 Message Date
GZharun
dbe0d5a649 Fixed up the comment 2015-06-29 14:18:14 -04:00
a624573ee6 add additional check for playhead priority target when testing loop range, to match Tracks' logic 2015-06-29 14:18:14 -04:00
cb38b4689b add Session::reconnection_in_progress(), used by Tracks 2015-06-29 14:18:14 -04:00
3b1609fc52 use the frame/sample based inter-scene gap, not the msecs one (now removed) 2015-06-29 14:18:14 -04:00
60b16811b7 scene gap is measured in frames, not msecs.
Could have used "samples" here but that can wait till we do a big rename
throughout the code base
2015-06-29 14:18:14 -04:00
5d41ab6983 add some session-scope configuration variables needed by Tracks.
Also add some comments regarding the presence of certain variables in this file
2015-06-29 14:18:14 -04:00
8ac5ef15f0 add more directory names to set managed via various APIs (automation, analysis, plugins, externals) 2015-06-29 14:18:14 -04:00
GZharun
b33d1732a6 Fixed a misprint in a comment 2015-06-29 14:18:14 -04:00
c2476ea73d add API for controlling and determining active status of a SceneChange
Conflicts:
	libs/ardour/ardour/scene_change.h
2015-06-29 14:18:14 -04:00
GZharun
51d2804535 Waves Backend MERGED from Tracks
[To be reviewed by] Paul Davis
2015-06-29 14:18:14 -04:00
GZharun
5d4f1c3419 Backend MERGE:
Paul Davis' change 3d12a4da82
[To be reviewed by] Paul Davis
2015-06-29 14:18:14 -04:00
GZharun
edbbc8344a Reverted Ben's default buffer size function implementation.
Related to  eeca7f7
2015-06-29 14:18:14 -04:00
GZharun
21b9e180bd Reverted Ben's m_DefaultBufferSize stuff as it looks redundant. Will be put back if we establish the opposite 2015-06-29 14:18:14 -04:00
6485300479 remove more explicit compiler flags by placing them in the compiler flags dictionary 2015-06-29 14:18:14 -04:00
3adfa9ef57 minor fix for wavesaudio backend after earlier changes + merge/meld madness 2015-06-29 14:18:14 -04:00
943394a49a add PBD::DEBUG bits for WavesAudio and WavesMIDI 2015-06-29 14:18:14 -04:00
Greg Zharun
320da29922 [Summary] AudioPort buffer does not need 64 byte alignment which cache_aligned_malloc provides.
Added new function which accepts argument to specify required alignment.

AudioPort buffer requires 32 byte alignment

[Review Required] YPosdnyakov
2015-06-29 14:18:14 -04:00
237f255fb5 meld-driven unification of current ardour-ish WavesAudio backend and current tracks WavesAudio backend.
May be incomplete, and may not compile (testing to follow)
2015-06-29 14:18:14 -04:00
GZharun
0fca07fa9d cosmetic fix (grygorii) 2015-06-29 14:18:14 -04:00
480f1e4082 noop: fix indentation/whitespace 2015-06-29 14:18:14 -04:00
f34d870a2c increase event pool for backend reset thread (somewhat unnecessarily, but lets keep Kyiv happy) 2015-06-29 14:18:14 -04:00
2911bb9fb8 AudioEngine tweaks from Tracks, related to stopping audioengine and halting 2015-06-29 14:18:14 -04:00
289078f7f8 merge in Tracks-derived session-end-is-N-seconds beyond last region end, but define N as zero for Ardour/Mixbus 2015-06-29 14:18:14 -04:00
a9f3ca6a81 fix indentation and remove whitespace 2015-06-29 14:18:14 -04:00
68aab0153c rename Session::add_session_range_location() to ::set_session_range_location() 2015-06-29 14:18:14 -04:00
440618bc85 enabling record (either tentative for punch or fully enabled) cancels play loop mode 2015-06-29 14:18:14 -04:00
854ff8d886 implement missing methods for MIDISceneChange 2015-06-29 14:18:13 -04:00
960cff790b mark session dirty after scene change is added/removed 2015-06-29 14:18:13 -04:00
a47cacfcc6 add signal to indicate absence of removal of scene change from Location 2015-06-29 14:18:13 -04:00
8367b7cab3 remove artificial, accidental and utterly unintended limit of the numbering of scene changes 2015-06-29 14:18:13 -04:00
706eb6dacd add Tracks specific handling of MMC Record Strobe, since Tracks has no concept of punch 2015-06-29 14:18:13 -04:00
745a235b9d properly track, update, maintain and set auto return state
Conflicts:
	gtk2_ardour/ardour_ui_options.cc
2015-06-29 14:18:13 -04:00
682d8ae064 make sure we allocate large enough buffers when doing a non-butler context disk buffer refill.
The size of the buffer now needs to reflect that we calculate read
refills in bytes, and if we are not using 32 bit float sample format
on disk, that can translate into > 1M samples.
2015-06-29 14:18:13 -04:00
3a65005a75 remove Tracks runtime conditional, incorrectly added during manual merging 2015-06-29 14:18:13 -04:00
7592b5d3e1 correctly track range selection trim and drag creation w.r.t playback priority 2015-06-29 14:18:13 -04:00
aefd089b88 make editor_drag.h fully self-contained as a header file (it was missing more than a dozen necessary fwd decls etc)
Conflicts:
	gtk2_ardour/editor_drag.h
2015-06-29 14:18:13 -04:00
eb791b7302 start work on auto return target dropdown rather than button
Conflicts:
	gtk2_ardour/ardour_ui.cc
2015-06-29 14:18:13 -04:00
6c8e11d3f8 change ArdourDropdown API to allow other types of menu elements 2015-06-29 14:18:13 -04:00
ab2e23db9a follow various events related to playhead priority (loop changes, parameter changes); remove debug output 2015-06-29 14:18:13 -04:00
736baab0f9 remove debug output 2015-06-29 14:18:13 -04:00
a2604ea38c fix copy-n-paste errors that used wrong buttons for playhead priorities 2015-06-29 14:18:13 -04:00
82487c9196 fix copy-n-paste errors that used incorrect enum values for playhead priorities 2015-06-29 14:18:13 -04:00
827fa16239 restore use of vertical margin on ardour knob popup tooltip/window 2015-06-29 14:18:13 -04:00
96078650c9 API to set tooltip y-margin
Conflicts:
	libs/gtkmm2ext/gtkmm2ext/persistent_tooltip.h
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-29 14:18:13 -04:00
016beaab9b give different Tracks + Ardour/Mixbus playhead priority functionality, and add missing set_track_loop() call for playhead priority 2015-06-29 14:18:13 -04:00
30a698f42e correct placement of buffering adjustments w.r.t Butler thread creation 2015-06-29 14:18:13 -04:00
GZharun
e52375aa40 [Summary] Moved session buffers adjustment during butler thread set up to the place we are ready to handle them. 2015-06-29 14:18:13 -04:00
GZharun
be92c927e8 [Summary] HOT FIX: Fixed crash which happens on an attempt to load a session with audio after preferences removal, when buffer preset is set to Medium.
[Details] It happened because ARDOUR::Butler::thread_work() was called before Buttler::map_parameters() method was called, which sets up the correct buffering parameters (set_buffering_parameters () call) according to chosen preset.
I've added this calls into Butler::start_thread () to make sure everything is set up and ready for use for Butler.

This is a hot fix, because it requires the review from Paul Davis, and probably more gentle solution. But it's possible this commit may become the main solution itself.
2015-06-29 14:18:13 -04:00
6878742d9f try to correctly set up build of AVX code for windows and linux, using compiler flags dictionary.
Adds use of 'pic' compiler flags dictionary item
2015-06-29 14:18:13 -04:00
751d330dbb store compiler flags in conf/bld context object so that we can use them selectively at build time 2015-06-29 14:18:13 -04:00