Commit graph

16872 commits

Author SHA1 Message Date
Valeriy Kamyshniy
8cb454e5c8 [Summary] Fixed bug: Dragging Region with copying it provoked a crash. The reason is: too short room for name generated for new region. 2015-06-25 10:49:08 -04:00
GZharun
6f3ee63199 [Summary] Fixed race condition: "should_do_transport_work" must not be dropped to 0 outside, it's illegal. It may cause "should_do_transport_work" go below 0 and make butler to round for a very-very long time (hang and possible lock of other threads) before stop() call returns.
_butler->stop () is synchronous, so its safe to wait in this call for butler to finish it's work.

[Reviewed by] PDavis
2015-06-25 10:49:08 -04:00
Paul Davis
d434661ff3 when reversing regions, use the original source's SR, not the current session one 2015-06-25 10:49:08 -04:00
Paul Davis
3cd99871f4 when creating new sources for a non-realtime Filter process, add option to use the same SR as the initial sources 2015-06-25 10:49:08 -04:00
Paul Davis
7eef64ac83 after changing session SR, reset all write sources to use new rate 2015-06-25 10:49:08 -04:00
Paul Davis
e56484d586 Tracks does not (want to) support destructive tracks 2015-06-25 10:49:08 -04:00
Paul Davis
d75ca2cf5d Tracks specific fix for SR reverting to previous value while creating new session 2015-06-25 10:49:08 -04:00
Paul Davis
c5f2692bca add 176.4kHz to available sample rates in export GUI 2015-06-25 10:49:08 -04:00
Paul Davis
7434e0c1f9 add 176.4kHz to export sample possibilities 2015-06-25 10:49:08 -04:00
Paul Davis
4cab8b4cf0 more reliable check for session files, to cover *.ardour.bak cases, and exclude them 2015-06-25 10:49:08 -04:00
Paul Davis
ac22eb73fa Tracks puts the master bus remote ID into a different "namespace" than Ardour 2015-06-25 10:49:07 -04:00
Paul Davis
41faf7dafb Tracks does not use a K20 meter for the master 2015-06-25 10:49:07 -04:00
VKamyshniy
755e9c6b6c [Summary] In Location::set_state - adding emitted FlagsChanged (if any flag changed). This is not a hot fix - it's for UNDO changed skipping state for SKIP markers. Paul has approved this change. 2015-06-25 10:49:07 -04:00
Paul Davis
5b1e3ea717 remove unnecessary and unused changes from grygorii 2015-06-25 10:49:07 -04:00
Paul Davis
af1dcecb9a remove unused method 2015-06-25 10:49:07 -04:00
Paul Davis
6eff2099c1 fix whitespace/indentation and remove references to ScopedConnectionLists that were not used even in Tracks 2015-06-25 10:49:07 -04:00
GZharun
37dd17d6b5 [Summary] Eliminated redundant marker update notification which lead to creation of huge amount of redundant session events 2015-06-25 10:49:07 -04:00
Paul Davis
d36aa7f601 noop: indentation 2015-06-25 10:49:07 -04:00
Paul Davis
b81f37ef76 add required header 2015-06-25 10:49:07 -04:00
Paul Davis
77ff84f9d5 make use of loop range as default export range being Tracks specific 2015-06-25 10:49:07 -04:00
VKamyshniy
306eed7a9d [Summary] Per Igor's request: if auto play loop is set on, the main timespan should be the range loop location. 2015-06-25 10:49:07 -04:00
Paul Davis
f9281bbff8 when loop range is set, if loop-is-mode and seamless looping, set loop for all tracks 2015-06-25 10:49:07 -04:00
Paul Davis
9e7fee538d fix inadvertent typo 2015-06-25 10:49:07 -04:00
Paul Davis
5a1144a31b Tracks uses -inf gain on newly created tracks 2015-06-25 10:49:06 -04:00
Paul Davis
3daf8112fa bring in more connection-related changes from Tracks 2015-06-25 10:49:06 -04:00
Paul Davis
810f33417c add engine_state_controller.cc to libardour sources when building tracks 2015-06-25 10:49:06 -04:00
Paul Davis
e28ea5ad58 add track auto-naming options from Tracks 2015-06-25 10:49:06 -04:00
Paul Davis
d230efec22 fix crash caused by missing return; add explanatory comments 2015-06-25 10:49:06 -04:00
Paul Davis
938613c123 fix typo in Tracks build 2015-06-25 10:49:06 -04:00
Paul Davis
2cbd841b2c include Tracks engine state controller header for Tracks build 2015-06-25 10:49:06 -04:00
Paul Davis
de8877c98a add required profile header 2015-06-25 10:49:06 -04:00
Paul Davis
cb1dee0ea5 change names for scene I/O port connection methods 2015-06-25 10:49:06 -04:00
Paul Davis
8d9e846b40 avoid redundant IO port reconnections in Tracks runtime case 2015-06-25 10:49:06 -04:00
Paul Davis
40b3c06dd7 noop: more style guide fixes 2015-06-25 10:49:06 -04:00
Paul Davis
0ca8ea5792 noop: fix indentation to match style guide 2015-06-25 10:49:06 -04:00
Paul Davis
760e495296 add EngineStateController code from Tracks 2015-06-25 10:49:05 -04:00
Paul Davis
f714d026ee Fixed issue with crash when invalid get_connections request is made on invalid port handle. (Grygorii) 2015-06-25 10:49:05 -04:00
Paul Davis
1df394e027 add in more Tracks-related auto-(re)connect changes 2015-06-25 10:49:05 -04:00
Paul Davis
f063a1aa8a add in more Tracks-related auto-(re)connect changes, all conditionalized by Profile 2015-06-25 10:49:05 -04:00
Paul Davis
f16df22da4 initial incorporation of Tracks' automatic reconnect features, based on current Tracks code 2015-06-25 10:49:05 -04:00
Paul Davis
063397a5c0 merge several of the trickiest Tracks- and platform-specific RC configuration variables 2015-06-25 10:49:05 -04:00
Paul Davis
82948f64d5 no-op: indentation and whitespace fixes 2015-06-25 10:49:05 -04:00
GZharun
f6311fecd2 [Summary] Added export cleanup
[Reviewed by] Andriy Mishyn
2015-06-25 10:49:05 -04:00
Paul Davis
9598d99b97 indentation and formatting cleanup 2015-06-25 10:49:05 -04:00
GZharun
32c3e0edf2 [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-25 10:49:05 -04:00
Greg Zharun
3ef372fc6c [Summary] Fixed windows build 2015-06-25 10:49:05 -04:00
Paul Davis
94c2ad0959 add channel_count() to audio source API 2015-06-25 10:49:05 -04:00
Paul Davis
0fb148fe95 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-25 10:49:05 -04:00
Paul Davis
a032df0b6f distribute use of RouteAddedOrRemoved to appropriate places.
It might be wise to use this rather than GUIIdle but that needs further investigation
2015-06-25 10:49:05 -04:00
Paul Davis
aba2ceda23 include emission of RouteAddedOrRemoved in Session::add_audio_track() 2015-06-25 10:49:05 -04:00