13
0
Commit Graph

18322 Commits

Author SHA1 Message Date
07b2518979 Fix windows build when using pthreads-win32 library 2015-11-19 20:54:38 +10:00
ac301b998a Use a range of values for ASIO buffer sizes if provided by driver
This has been tested on four devices:

- A RME HDSP Multiface
- A Yamaha AG06
- A Focusrite 2i2
- A built-in soundcard running ASIO4ALL

The HDSP and the AG06 only return one buffer size when queried so the preferred
size is used as before.

The Focusrite returns a min corresponding to the position of the slider in the
control dialog and the max is 1024. The granularity is 1 so this means that the
number of values needs to be reduced for the current UI design with a combo
box so the granularity is increased until there are around 8-9 buffer sizes to
choose from evenly spaced between min and max(but we could easily change this
if the UI changes etc).

The ASIO4ALL driver returns a min of 64 and a max of 2048 and a granularity of
8. So where the minimum buffer size and granularity is a power of 2 use only
buffer sizes that are power of 2.

If the driver returns different values for min and max it is not currently
possible to indicate which is the driver preferred value. A checkbox or other
UI element could be added to the AudioSetup dialog to only use the preferred
value but that is more work and perhaps not necessary.
2015-11-19 10:23:26 +10:00
f1b336b01e Add support for callback API to portaudio backend but keep blocking API as default
Don't use the callback API for now until further and wider testing.
2015-11-19 10:23:26 +10:00
6c85f976de add new (unfinished) device info file for FaderPort 2015-11-18 17:54:47 -05:00
04c0f24753 use new plugin class API for filter 2015-11-18 18:11:33 +01:00
9d867cfd87 add dedicated API to check plugin class 2015-11-18 18:11:19 +01:00
acc36e0053 relayout plugin-manager filter & related details 2015-11-18 17:20:36 +01:00
d8f46c75d8 pass release signal up to ArdourButton (_grabbed state) 2015-11-18 16:50:27 +01:00
1c83df80db reduce math weirdness (thanks to Steven Yi) 2015-11-18 14:29:13 +01:00
abb76fd994 reduce clutter in Plugin Manager List 2015-11-18 03:48:28 +01:00
3a266ff5e8 Add --profile waf option so frame pointer isn't omitted in optimized builds 2015-11-18 09:38:18 +10:00
bb5b0a6d8a Remove -O0 optimize flag from debuggable flags to enable debuggable optimized builds
This allows debug symbol information to be included for optimized builds. This
may not always be useful for debugging but it is necessary to use profiling
tools like perf.

The default optimize level is -O0 if no other optimize flag is specified so the
optimization level will be the same unless overridden.
2015-11-18 09:38:18 +10:00
cf8b9464c5 tweak selection code for mixer strip Duplicate func 2015-11-17 17:34:33 -06:00
6f955aa0bd add Duplicate action to track and mixer context menus 2015-11-17 16:55:11 -06:00
a95f8a8648 new test tools to check thread-pool based disk i/o 2015-11-17 10:14:44 -05:00
81103d822a use thread private data **pointer** correctly for Stateful::ID regeneration 2015-11-17 08:53:29 -05:00
d2cba4d7ac fix inadvertently commit error related to at-process-exit deletion for thread private variable 2015-11-16 21:55:57 -05:00
e1dc2d4604 correct value testing for Stateful thread-private variable controlling ID regeneration 2015-11-16 21:24:10 -05:00
9694dfc8d2 Fix bug #6506, crash when moving tempo markers with automation on midi tracks 2015-11-16 09:57:04 +10:00
61e22d9f11 fix logic errors in duplicate tracks dialog 2015-11-14 16:02:05 -05:00
108634c3f3 get PlaylistDisposition argument of Session::new_route_from_template() working 2015-11-14 16:01:24 -05:00
a84d4c0609 remove leftover declaration 2015-11-14 15:25:52 -05:00
0b6b598fce remove leftover declarations 2015-11-14 15:25:52 -05:00
ef810eacd8 move logic of track/bus duplication into DuplicateRouteDialog 2015-11-14 15:25:52 -05:00
fb96170178 Fix fader in mackie control to work with groups. 2015-11-14 10:39:53 -08:00
456b6adf2b tweak duplicate routes dialog appearance depending on whether or not busses/tracks are the target 2015-11-14 11:05:15 -05:00
7598520fa6 expose count widgets for duplicate track dialog 2015-11-14 10:35:07 -05:00
aeb7246977 partial dialog to control track duplication 2015-11-14 10:30:08 -05:00
81afdecd30 linux installer tweak:
check architecture before gcc4/5 compat
2015-11-13 17:36:48 -06:00
100701cb23 initial/partial implementation of duplicate track/bus 2015-11-13 16:14:49 -05:00
b6925e274f substantial part of infrastructure required for track/bus duplication
This includes removing the removal of ID values in XML, and its replacement with
thread-local forcing of ID resets, implemented in a previous commit
2015-11-13 16:14:49 -05:00
f5e71fd817 fix return value from Route::save_as_template() 2015-11-13 16:14:49 -05:00
nick_m
024adf3a4d Fix #6673 - another prematurely closed undo transaction.
- add_midi_region used to commit, resulting in
	  _region->set_position() adding a command when there was
	  no current transaction. The sub-bug here was that repeatedly
	  calling set_position() on the new region resulted in nonsensical
	  automation movement after the drag.
2015-11-14 03:14:23 +11:00
nick_m
6210b63a13 Ardour::Region - add method required to fix #6673. 2015-11-14 03:05:53 +11:00
4b25c80cb9 fix edge-case in Dummy-backend random number generator initialization 2015-11-12 09:49:40 -06:00
92fe47bdee provide a mechanism to force ID regeneration/reset in PBD::Stateful when settingthe ID object from XML or string sources 2015-11-12 10:24:41 -05:00
487a2563a6 remove requirement for transport speed to be 1.0 when generating click (metronome)
This is experimental and may not work
2015-11-12 09:46:25 -05:00
a4daf93f2f Use XMLNode::remove_child_and_delete in Stateful::add_extra_xml
As the node being replaced has been added with XMLNode::add_child_nocopy the
node also needs to be deleted or a memory leak occurs.
2015-11-10 23:14:17 +10:00
4e6cdb4daa Use constructor initialization list in Stateful class 2015-11-10 23:14:16 +10:00
9e4dc284ee Replace spaces with tabs in pbd/stateful.h 2015-11-10 23:14:16 +10:00
3c4e9cb64e more correct semantics for reserved IO name checking 2015-11-09 08:24:35 -05:00
647a60d35d slightly improved fix for reserved name handling 2015-11-07 22:23:23 -05:00
3d5bdbbe66 don't force rename of reserved route/IO names if the name isn't taken yet 2015-11-07 22:16:07 -05:00
09672f4a50 Mackie Control: Initialize vpot assignment on start-up. 2015-11-06 19:28:24 -08:00
ace771bc91 Mackie Control: Add send functionality to vpot assign section. 2015-11-06 16:18:13 -08:00
9013f1afe6 Add some newly introduced sources to our MSVC project (libardour) 2015-11-06 08:22:58 +00:00
5d0b324ef4 Merge branch 'chaot4-feature_open_dialog_before_chat' 2015-11-04 17:53:15 -05:00
André Nusser
14c2409f47 Show info dialog when opening chat via Help -> Chat.
This should clarify for users that in IRC you post your question and
wait, and not leave after a few minutes.
2015-11-04 17:53:03 -05:00
6cf7ca3a85 Merge branch 'chaot4-f_overwrite_dialog_improvement' 2015-11-04 17:52:10 -05:00
André Nusser
4898614f90 Remove explicit positioning of overwrite_file_dialog.
ArdourDialog takes care of this.
2015-11-04 17:52:00 -05:00