13
0
Commit Graph

17119 Commits

Author SHA1 Message Date
c57aecafb1 add engine_state_controller.cc to libardour sources when building tracks 2015-06-29 14:18:11 -04:00
c9f6cd88b1 add track auto-naming options from Tracks 2015-06-29 14:18:11 -04:00
3a56004f65 fix crash caused by missing return; add explanatory comments 2015-06-29 14:18:11 -04:00
4d64aed5d2 fix typo in Tracks build 2015-06-29 14:18:11 -04:00
42f5cc4784 include Tracks engine state controller header for Tracks build 2015-06-29 14:18:11 -04:00
4cd7f2568c add required profile header 2015-06-29 14:18:11 -04:00
33d1d8a6c1 change names for scene I/O port connection methods 2015-06-29 14:18:11 -04:00
18415ba6cd avoid redundant IO port reconnections in Tracks runtime case 2015-06-29 14:18:11 -04:00
49e292f360 noop: more style guide fixes 2015-06-29 14:18:11 -04:00
6eebb6326a noop: fix indentation to match style guide 2015-06-29 14:18:11 -04:00
71dd7ce934 add EngineStateController code from Tracks 2015-06-29 14:18:11 -04:00
3c3d62c18a Fixed issue with crash when invalid get_connections request is made on invalid port handle. (Grygorii) 2015-06-29 14:18:11 -04:00
32224ee608 add in more Tracks-related auto-(re)connect changes 2015-06-29 14:18:11 -04:00
bebb03a0a4 add in more Tracks-related auto-(re)connect changes, all conditionalized by Profile 2015-06-29 14:18:11 -04:00
c46ec135e5 initial incorporation of Tracks' automatic reconnect features, based on current Tracks code 2015-06-29 14:18:11 -04:00
de4efe73a6 merge several of the trickiest Tracks- and platform-specific RC configuration variables 2015-06-29 14:18:11 -04:00
d1747b4137 no-op: indentation and whitespace fixes 2015-06-29 14:18:11 -04:00
GZharun
ae8c494c02 [Summary] Added export cleanup
[Reviewed by] Andriy Mishyn
2015-06-29 14:18:11 -04:00
f9aeb659ee indentation and formatting cleanup 2015-06-29 14:18:11 -04:00
GZharun
f837b66c20 [Summary] Fixed issue with export built on Mavericks. There was not check on empty sets in ExportFormatSpecification class.
C standard, section 6.5.6.8 says:
"...if the result points one past the last element of the array object, it shall not be used as the operand of a unary * operator that is evaluated..."
So GCC compiler and CLANG compiler (Mavericks) process this operation different way. GCC returns 0 on an attempt to dereference end iterator when CLANG returns a non 0 value.
2015-06-29 14:18:11 -04:00
Greg Zharun
5877f255f0 [Summary] Fixed windows build 2015-06-29 14:18:11 -04:00
04b2d34362 add channel_count() to audio source API 2015-06-29 14:18:11 -04:00
9c95a8bdea another signal related to record state added from Tracks.
This doesn't appear to have obviously distinct semantics from RecordStateChanged
but Tracks is using it and I can't verify instantly that it could be replaced
by RecordStateChanged.
2015-06-29 14:18:11 -04:00
43f4b82485 distribute use of RouteAddedOrRemoved to appropriate places.
It might be wise to use this rather than GUIIdle but that needs further investigation
2015-06-29 14:18:11 -04:00
8c880b6529 include emission of RouteAddedOrRemoved in Session::add_audio_track() 2015-06-29 14:18:11 -04:00
11e371c5e7 integrate Session::remove_routes() from Tracks and replace Session::remove_route() internal implementation.
The singular case replicated (and was the model for) the plural case.
2015-06-29 14:18:11 -04:00
e7fa40762c re-do previous commit with less variables 2015-06-29 14:18:11 -04:00
024a061804 Tracks calls tracks "Tracks"; Ardour uses type-names 2015-06-29 14:18:11 -04:00
b3d0b85328 Session::reconnect_midi_scene_ports() is a Tracks thing.
It requires the EngineStateController which is not merged at this time
2015-06-29 14:18:11 -04:00
9fffa74267 add missing profile header 2015-06-29 14:18:11 -04:00
GZharun
2f790bc638 fix bank ID when MIDI Scene change handles a program change message 2015-06-29 14:18:11 -04:00
511f609a14 add Session::reconnect_midi_scene_ports() 2015-06-29 14:18:10 -04:00
2f95da983b add comment 2015-06-29 14:18:10 -04:00
584d8095ee totally bizarre and incorrect solo/mute behaviour for Tracks (ONLY) 2015-06-29 14:18:10 -04:00
nikolay
ed291ee8d0 [Summary] Changed function name update_route_active_state() on update_route_record_state()
[Reviewed] GZharun

Conflicts:
	libs/ardour/ardour/session.h
	libs/ardour/session.cc
	libs/ardour/session_state.cc
2015-06-29 14:18:10 -04:00
9320b51032 provide Session::have_rec_disabled_track() 2015-06-29 14:18:10 -04:00
0108f9f18d add the Tracks version of Track::monitoring_state()
This drastically-stripped down version of the Ardour original is used only when USE_TRACKS_CODE_FEATURES
is defined. It doesn't respond to many aspects/features of libardour.
2015-06-29 14:18:10 -04:00
8a6b23f28f adding routes no longer saves session but leaves it marked dirty (Tracks semantics for add_routes() retained) 2015-06-29 14:18:10 -04:00
039127c89a fix indentation 2015-06-29 14:18:10 -04:00
GZharun
c4f6faa424 [Summary] Region changes will make session dirty 2015-06-29 14:18:10 -04:00
43f45ed0b0 mark session dirty when markers/ranges are changed 2015-06-29 14:18:10 -04:00
4235367acd fixed previous commit from Tracks to work correctly in all cases 2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
07c81a763f [Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in the session recent list.
[Reviewed] YPozdnyakov
2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
1f98535b52 [Summary] Adding informative message to failed file copy exception in Session::save_as.
[Review required] Paul Davis
2015-06-29 14:18:10 -04:00
445d742af1 save recent templates analogously to recent sessions 2015-06-29 14:18:10 -04:00
0365c5cc47 Tracks-specific handling of template dir 2015-06-29 14:18:10 -04:00
893cb3460c fix cherry-pick logic failure with Session::save_template() - Tracks case already taken care of 2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
1acee68037 [Summary] a) On MAC OS, .DS_Store files are ignored when saving a session by “Save As”.
b) plugins folder is not created for Templates.

[Required review] Paul Davis, YPozdnyakov

Conflicts:
	libs/ardour/session_state.cc
2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
7c5d849247 [Summary] For tracks when saving templates, we need stored the Auto Loop Range and all MIDI markers. As well, just to follow canonical rule: dealing with a pointer (_location in Session::state) check it for NULL prior to any operation (s), accessing the pointer.
[Review required] YPozdnyakov, GZharun, Paul Davis
2015-06-29 14:18:10 -04:00
2a1d0e20f0 emit SessionSaveUnderWay signal during template save 2015-06-29 14:18:10 -04:00