John Emmas
e427724bd7
Some of libardour's istream and ostream operators are needed outside of libardour - so let's make them exportable
...
(currently, only the istream operators are needed but we might as well do them both)
2014-12-26 09:21:23 +00:00
John Emmas
6c50971eba
Remove the source files which got transferred to libpbd
2014-12-26 09:18:23 +00:00
John Emmas
46d08595ff
class 'PBD::Configuration' doesn't actually get exported from libpbd - so make sure we don't decorate it with LIBPBD_API
2014-12-26 09:16:58 +00:00
John Emmas
8eba7c5c0a
Add some newly introduced source files to our MSVC project (libpbd)
2014-12-26 09:15:17 +00:00
David Robillard
7e25f21595
Conditionally remove possibly unused functions.
2014-12-25 20:07:57 -05:00
David Robillard
129cc4689a
Remove warning when adding MIDI model controls.
...
This is fine, unlike the other cases, MidiTrack is not the only thing that can
have a MIDI automation control.
2014-12-24 20:41:14 -05:00
David Robillard
86242348ec
Fix crash when getting width of item with no bbox.
2014-12-24 16:02:56 -05:00
David Robillard
b0f1c16e20
Support fancy controls for some AU units.
2014-12-24 13:00:32 -05:00
David Robillard
2e7cfe081f
Add --no-lrdf configure option.
2014-12-24 13:00:32 -05:00
David Robillard
8c8bc51034
Fix OSX build.
2014-12-24 13:00:32 -05:00
Robin Gareus
0b471df0c3
fix clang compilation
...
error: call to function 'operator>>' that is neither
visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site.
IOW. types.h must be included before using ‘ss >> (T) value’ in
template in pbd/configuration.h
2014-12-24 05:00:39 +01:00
Robin Gareus
bec521c6a7
proper default setup and fallbacks for video on windows
2014-12-24 01:36:46 +01:00
Robin Gareus
f5f89d8c7e
fix for case-sensitive FS - aa80515f3
2014-12-23 23:43:25 +01:00
Robin Gareus
96ee33aa5f
fix and cleanup c404ef98 (windows config dir)
2014-12-23 23:43:25 +01:00
Greg Zharun
aa80515f3f
[Summary] Fixed audio export on Windows. Added support of windows platform for the function that calculated hardware concurrency.
...
Because there was no implementation for this function on windows it used to return 0. This meant that no thread was created to process the data.
2014-12-23 12:55:35 -05:00
Paul Davis
6b6d78c41f
indent cleanup
2014-12-23 12:35:58 -05:00
Paul Davis
280910fd53
new file, derived from old libs/ardour/configuration.cc
2014-12-22 19:48:30 -05:00
Paul Davis
d854c5d93c
move ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbd
2014-12-22 19:48:30 -05:00
Robin Gareus
c404ef9856
don't append .config to %LOCALAPPDATA%\<ProgramName>\
...
::user_config_directory() could use some general cleanup
an x-platform consolidation, but today is not the day.
2014-12-22 23:04:44 +01:00
Paul Davis
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
Paul Davis
795c5c16f1
no use of GUI parameters in libardour
2014-12-22 13:39:46 -05:00
Paul Davis
76d42ab644
change SessionEvent::Immediate to -1, and ensure that clear_events() uses it rather than a hard-coded value
...
This fixes a design error of using zero as the flag for an "Immediate" event's action frame. Zero
is a perfectly legitimate action frame for an event (e.g. a Skip event), and using zero was causing
skip events with action-frame == 0 to be treated as immediate, not scheduled.
2014-12-21 11:45:53 -05:00
Tim Mayberry
dafcaec023
Limit Wiimote surface discovery to 5 connection attempts
...
If you don't connect a Wiimote then the connection attempts were
endless.
2014-12-21 12:53:00 +07:00
Paul Davis
282c563fce
fix newly introduced deadlock when cloning MIDI regions
2014-12-20 14:09:39 -05:00
David Robillard
5d8021bf44
Maintain correct tracker state on MIDI overwrite.
...
This is a little hard-edged in that edits while rolling will prematurely chop
off any playing notes, but at least the state of things actually reflects
reality. More sophisticated solution hopefully to come...
2014-12-20 01:13:25 -05:00
Colin Fletcher
db92d62c95
Revert "Change default for region selection after split on Mixbus"
...
This shouldn't be necessary: Mixbus should probably just have a different
value for the default in their source tree instead.
This (partially) reverts commit 631467f0bb :
I now realise that I accidentally rolled another fix (missing "region-" in
config variable name) in there too: sorry about that.
2014-12-19 21:16:02 +00:00
Colin Fletcher
631467f0bb
Change default for region selection after split on Mixbus
...
Mixbus prefers that both the newly-created regions as well as the existing
selection are selected after splitting selected regions: make this the
default on Mixbus.
2014-12-19 17:12:05 +00:00
Colin Fletcher
d4a3141927
Add a config option to control region selection after split.
...
Add a configuration variable to choose the behaviour of the region
selection after splitting selected regions.
Add options to choose between all eight possible combinations of 'existing
unmodified selected regions', 'newly-created regions to left of split',
and 'newly-created regions to right of split', but comment out all but the
three least crazy ones for now. If anyone wants them, they're there.
2014-12-19 17:12:04 +00:00
Paul Davis
a494211e73
add ArdourCanvas::change_alpha()
...
Time to move away from rgba macros
2014-12-19 09:53:26 -05:00
Valeriy Kamyshniy
1b89055526
[Summary] Bug fix: mistakenly set states of freewheeling thread.
2014-12-18 17:07:37 -05:00
Paul Davis
74be550698
change Item::visible() to Item::self_visible(); add Item::visible() which returns accurate visibility
...
Child items will be hidden when their ancestors are hidden. The old ::visible() implementation didn't reflect this. In addition,
when changes are made to hidden items (new definition of visible/not visible), don't bother to request redraws, since this will
be done when the item becomes visible again.
2014-12-18 10:30:38 -05:00
David Robillard
7eab4c6f33
Don't assume compiler can avoid copy to const ref.
2014-12-18 04:03:39 -05:00
David Robillard
e584ae0bf9
Mute automation via normal mute button.
2014-12-18 02:26:51 -05:00
David Robillard
64490e88e4
No need to yell.
2014-12-18 02:26:34 -05:00
David Robillard
0f759e9a93
MIDI bounce.
2014-12-17 21:48:09 -05:00
David Robillard
d2cafbe95a
Remove some aborts that don't really need to be.
...
Enforce PatchPrimaryKey sanity at the type level rather than attempting to
check for it everywhere.
Remove dead file.
2014-12-17 19:43:09 -05:00
David Robillard
a706755710
Fix various MIDI locking issues.
...
Attempt to make mistakes much less likely in the future by statically requiring
caller to pass scoped locks where necessary.
2014-12-17 16:07:29 -05:00
David Robillard
ec6626f06a
Fix oops in previous commit.
...
Professionalism is overrated.
2014-12-17 02:10:01 -05:00
David Robillard
0c3f4bd995
Fix occasional crash when recording MIDI.
2014-12-17 01:49:46 -05:00
Paul Davis
12803c4255
use new parameter to limit minimum length of any range location
2014-12-16 13:06:13 -05:00
Paul Davis
94e2b61a86
add new parameter for minimum value of any range location
2014-12-16 13:06:05 -05:00
Paul Davis
0fdb846625
try alternate Glib:: API for conversion from UTF-8 to ascii in Mackie support code
2014-12-15 15:06:10 -05:00
Paul Davis
e3f376107e
nominal fix for sending UTF-8 text to Mackie surface
2014-12-15 14:44:05 -05:00
Paul Davis
9831006c8e
add getters for SVAModifier
2014-12-15 12:06:53 -05:00
Paul Davis
995bcd3aa0
fix typo
2014-12-15 09:29:04 -05:00
Paul Davis
aa57e9e032
more fixes to SVAModifier constructor(s)
2014-12-15 09:03:52 -05:00
John Emmas
9a454ab3d4
Add a newly introduced header file to our MSVC project (libpbd)
2014-12-15 10:26:06 +00:00
Paul Davis
3fa4063d9b
fix up SVAModifier constructors
2014-12-14 23:41:31 -05:00
Paul Davis
427b93055f
add SVAModifier to ArdourCanvas color code
2014-12-14 23:34:36 -05:00
Paul Davis
0fa5643d20
move ScopedFileDescriptor into libpbd and use it
2014-12-14 12:26:00 -05:00