Commit graph

8129 commits

Author SHA1 Message Date
Ben Loftis
7ee9726c89 another merge fix 2015-04-21 08:37:54 -05:00
Ben Loftis
91fac4c96d merge fix for tempo branch 2015-04-21 08:35:20 -05:00
Ben Loftis
f44e2e55fd merge monitor_section branch 2015-04-21 08:18:10 -05:00
Paul Davis
ab4b4934b9 Merge branch 'master' into saveas 2015-04-21 00:19:29 -04:00
Paul Davis
847c9de7be do not reset paths for sources that are still outside the session after save-as 2015-04-21 00:18:49 -04:00
Paul Davis
88f7c76134 allow coreaudio backend to build on OS X Lion 2015-04-20 23:12:35 -04:00
Paul Davis
63ac1b1464 SMF::end_write() is a no-op if there is no _smf structure 2015-04-20 22:46:39 -04:00
Paul Davis
d5be54080f add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open 2015-04-20 16:31:06 -04:00
Paul Davis
d263cf7ded remove _file_path member from Evoral::SMF 2015-04-20 15:44:20 -04:00
Paul Davis
ced4378d09 Merge branch 'master' into saveas
Conflicts:
	gtk2_ardour/ardour.menus.in
	libs/ardour/session_state.cc
2015-04-20 15:10:41 -04:00
Robin Gareus
bb4576b700 Dummy: fix sine/square frequency sweep 2015-04-17 17:09:52 +02:00
nick_m
dff83c77cf Amend ac1f7e0b 2015-04-17 05:36:13 +10:00
nick_m
ac1f7e0b9f Indicate all clips on rectified view. 2015-04-17 05:26:57 +10:00
nick_m
7f41de7427 Improve waveview height and scaling.
The top line of the selection rect is arguably 1 px too low, but
waveviews seem centered on the area properly.
2015-04-17 05:03:51 +10:00
Robin Gareus
d24195c41e VST: fix a copy/paste typo and possible segfault
fix by Drumfix.
2015-04-16 18:29:08 +02:00
Paul Davis
4512d013eb put all of the Mackie control surface code into the ArdourSurface namespace 2015-04-15 20:37:20 -04:00
Paul Davis
d65bf920fd update russian translation 2015-04-15 20:18:26 -04:00
Paul Davis
7f659a0463 add ArdourSurface to OSC class to help reduce global namespace pollution 2015-04-15 17:21:55 -04:00
Paul Davis
2d227a03a3 fix for memory overrun during read_peaks(), from sebastian reichelt 2015-04-15 13:32:34 -04:00
Robin Gareus
96ce9c304e Replace control list locks with RWLocks
towards fixing #6238 and #6096.


GUI thread:
#2  Glib::Threads::Mutex::Lock::Lock
#3  Evoral::ControlList::eval 
#4  Evoral::Control::get_double 
#5  ARDOUR::AutomationControl::get_value
#6  ProcessorEntry::Control::control_changed
..
#15 PBD::Timer::timeout_handler


at the same time: Audio Thread (try-lock, fails)

#0  Evoral::Curve::rt_safe_get_vector
#1  ARDOUR::Amp::setup_gain_automation
#2  ARDOUR::Route::process_output_buffers

Due to the failed try-lock.. AMP::_apply_gain_automation
is false. and Amp::run() uses a different gain factor.
-> click.
2015-04-15 18:13:56 +02:00
Robin Gareus
9391da0c24 portaudio backend: allow Pa_GetDeviceInfo to fail. 2015-04-15 03:05:09 +02:00
Robin Gareus
d00ab0221a allow to set/change loop-range via OSC 2015-04-12 23:40:35 +02:00
Paul Davis
d0e636e1a8 remove unused local variable 2015-04-11 10:57:42 -04:00
nick_m
5ce8551576 Fix dangling location on new location -> undo. 2015-04-11 04:45:45 +10:00
Colin Fletcher
30d95bbb8c Merge branch 'uk-english'
Merge the UK English localisation.
2015-04-10 18:25:58 +01:00
John Emmas
b3fb73812c Position (and size) canvas tooltips such that they better resemble Gtk tooltips
Mixbus in particular uses both types of tooltip so we might as well make them look the same.

N.B. The appearance is fine now on Windows but needs to be tested on the other platforms (i.e. some tweaking might be necessary).
2015-04-09 15:46:12 +01:00
John Emmas
2234fd4b8a Delete a canvas tooltip after we've finished with it
All canvas objects share just one tooltip object which is based around Gtk::Label. The Label expands if the current tooltip text is wider than the previous text. However, it doesn't shrink again if the next tooltip has shorter text. Eventually, this results in some very strange looking tooltips (especially in Mixbus where they're used quite extensively).

Deleting the object after use will force a new object to get generated next time (at the correct size). There's still only ever one object per canvas but it's no longer persistent.
2015-04-09 15:42:00 +01:00
Robin Gareus
0ffde76e59 Revert "prevent double declicks (click after RecStop)"
This reverts commit 6ba555c2f5.
which does not yet take monitoring states into account.

Ideally the case handled here should not happen in the
first place, It should be fixed in session_transport
transport_sub_state.
2015-04-07 15:05:00 +02:00
Robin Gareus
6ba555c2f5 prevent double declicks (click after RecStop)
If there's port-latency > period-size, there is a
split cycle with (this_event->action_frame - _transport_frame).
Yet Session::check_declick_out() keeps PendingDeclickOut if
StopPendingCapture is set. The route declick’ed twice:
Once with the period-size and one with the remaining frames,
which resulted in a click.
2015-04-07 05:25:18 +02:00
Robin Gareus
a306968283 linear declick 2015-04-07 05:25:12 +02:00
Robin Gareus
83519faffb low-pass filter gain-fader.
fixes various fader zipper noise issues.
It voids sample accuate fader automation (the fader-gain
is low-pass filtered at 10Hz). Yet all musical purposes this
makes a lot more sense than sample accuracy anyway.
2015-04-07 05:21:57 +02:00
Paul Davis
528f945ba3 fix crash during new session creation when sync-to-JACK is enabled as a preference 2015-04-06 21:19:51 -04:00
Paul Davis
6dea7ebfb0 changes related to resetting source paths during save-as.
This does NOT work with MIDI files at present, because of SNAFU in SMF class, where end_write()
opens the file on its own, without _file_path being set. Needs some careful work, because basically
the SMF<=>SMFSource relationship is not tenable
2015-04-06 21:18:52 -04:00
Paul Davis
b2da3bccc0 after save-as, if switching to new session, reset all track write sources to use new session path 2015-04-06 12:05:36 -04:00
Paul Davis
a83305169a fix ambiguous use of pow() 2015-04-05 15:13:59 -04:00
Paul Davis
2f02b921f1 bump default silent-after-seconds duration to 10 minutes 2015-04-05 14:04:28 -04:00
Paul Davis
8a5b5145cc add libardour code for going completely silent after a compile-time defined number of seconds 2015-04-05 14:02:30 -04:00
Robin Gareus
6a7cb8f4e8 AU preset debuging 2015-04-05 18:05:32 +02:00
Paul Davis
cb94afa9b9 removed unusued value_as_string.cc source file 2015-04-05 11:16:17 -04:00
Robin Gareus
f0231766d7 session rename details:
* don’t allow to rename read-only sessions
* prevent periodic save (while rename is in progress)
* no renaming while actively recording (peak files
  among other things will mess things up)
2015-04-05 16:02:07 +02:00
Robin Gareus
4b485332ce fix renaming renamed session. 2015-04-05 16:01:08 +02:00
Robin Gareus
5694509bdf fix rename error message 2015-04-05 15:40:25 +02:00
Robin Gareus
1395125283 update peak filename when renaming session, fixes #5869 2015-04-05 14:55:19 +02:00
Robin Gareus
a8d9014215 add missing include
hopefully fixes string collection
2015-04-05 03:13:12 +02:00
Robin Gareus
5ded2ad928 децибел 2015-04-05 03:03:43 +02:00
Edgar Aichinger
fdad174932 fix mistake in small .de update 2015-04-04 19:46:49 +02:00
Edgar Aichinger
a45feecb1b another small .de update 2015-04-04 19:18:11 +02:00
Robin Gareus
7c146a9e22 fix OSC parameter mapping, fixes #6224
(ignore non control ports in numbering)
2015-04-04 03:16:53 +02:00
Paul Davis
84c1bbb4c7 when copying A3 config files, consider that the user may have /config rather than /ardour.rc.
This will be true if they have been self-building from git or
using nightlies.
2015-04-02 19:03:06 -04:00
Valeriy Kamyshniy
21193c6fca [Summary] Adding option to avoid sorting the routs in Session::foreach method. Now ARDOUR_UI::every_second do not spend time for unnecessary sorting when calling update_disk_space().
[Reviewed] Paul Davis
[Required review] YPozdnyakov, GZharun
2015-04-02 16:32:41 -04:00