13
0
Commit Graph

17197 Commits

Author SHA1 Message Date
0a433b2d07 Revert "add operator bool() to Evoral::Beats"
This reverts commit f8b5263af5e4d5088f1d5551e999679515add432.

OS X compiler gets confused by this change.
2015-06-29 14:18:14 -04:00
c4c7dc0086 Revert "use newly added operator bool() for Evoral::Beats rather than double-negation as boolean"
This reverts commit a19902b52f08bf33c54e60dfb49c44a1c154f4c9.

OS X compiler gets confused by this change.
2015-06-29 14:18:14 -04:00
9c84633eb4 Revert "replace two more instances of !! with implicit use of operator bool()"
This reverts commit e8eff9fb9c2fa6fc518404c2f9b731f8c28d3a23.

OS X compiler gets confused by this change.
2015-06-29 14:18:14 -04:00
82fc73d663 replace two more instances of !! with implicit use of operator bool() 2015-06-29 14:18:14 -04:00
15b3ad956d use newly added operator bool() for Evoral::Beats rather than double-negation as boolean 2015-06-29 14:18:14 -04:00
16c34acc88 add operator bool() to Evoral::Beats 2015-06-29 14:18:14 -04:00
48fb3e3b48 use consistent (large) size when calling to_ticks() 2015-06-29 14:18:14 -04:00
d27dc3557e new Session::default_track_name_pattern (DataType) method, based on an idea in Tracks 2015-06-29 14:18:14 -04:00
c66ea2c170 add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string 2015-06-29 14:18:14 -04:00
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