13
0
Commit Graph

16307 Commits

Author SHA1 Message Date
84f0dceefb Port 'Cut time' code from Mixbus
Copy the 'Cut time' code from Mixbus, making a few obvious fixes to work in
A3 (e.g. nframes_t => framepos_t / framecnt_t).

Seems to work to move & remove markers, tempo & meter markers, and regions on
selected tracks.

Still TODO:
 - use existing A3 'Insert time' dialogue
 - make it respect 'No selection = all tracks'
 - rename the command to something like 'Remove time' or 'Delete time': 'Cut'
   sounds to me as if the removed range should end up on the clipboard ready
   to be pasted somewhere, which of course it doesn't.
2015-04-21 10:22:27 -05:00
Greg Zharun
17546f47b6 [Summary] Fixed bug in Ardour SSE assembler function. Wrong register was decreased in LP_SSE: block of float x86_sse_compute_peak function
[Details] This bug does not show up when buffers are 16 byte aligned, but when they are not - this bug will lead to crash.
I tested all these functions with non-aligned buffers as well as long they do handle the situation with unaligned buffers.
[To be reviewed by] Paul Davis
2015-04-21 10:49:00 -04:00
Greg Zharun
8af992c449 [Summary] Added SSE sound processing functions support for Windows. Version 1.
Conflicts:
	wscript
2015-04-21 10:49:00 -04:00
nick_m
70338bfbd6 Monitor section - init _output_selector to 0. 2015-04-22 00:17:17 +10:00
7ee9726c89 another merge fix 2015-04-21 08:37:54 -05:00
91fac4c96d merge fix for tempo branch 2015-04-21 08:35:20 -05:00
f44e2e55fd merge monitor_section branch 2015-04-21 08:18:10 -05:00
ab4b4934b9 Merge branch 'master' into saveas 2015-04-21 00:19:29 -04:00
847c9de7be do not reset paths for sources that are still outside the session after save-as 2015-04-21 00:18:49 -04:00
88f7c76134 allow coreaudio backend to build on OS X Lion 2015-04-20 23:12:35 -04:00
4141d2113f tuning the save-as dialog 2015-04-20 22:46:54 -04:00
63ac1b1464 SMF::end_write() is a no-op if there is no _smf structure 2015-04-20 22:46:39 -04:00
5509165935 new attempt at scaling indicator LED 2015-04-21 03:04:34 +02:00
15b168a177 adjust default meter font-size (same as it was before) 2015-04-21 02:12:43 +02:00
67411281ad use save as dialog in ArdourUI 2015-04-20 17:49:41 -04:00
4f6bc96118 add save_as dialog to build system 2015-04-20 17:49:29 -04:00
69564de9e3 initial version of save-as dialog 2015-04-20 17:32:54 -04:00
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
d263cf7ded remove _file_path member from Evoral::SMF 2015-04-20 15:44:20 -04:00
a5c6919e9a towards fixing #6265 2015-04-20 21:39:25 +02:00
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
e7364201b1 clarify GUI scaling 2015-04-20 20:51:33 +02:00
451450d3f8 scalable panners 2015-04-20 20:45:36 +02:00
494009a6e2 towards scaleable meter and mixer UI
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
2015-04-20 20:45:36 +02:00
00f06ca9e9 update russian translation 2015-04-19 13:57:18 -04:00
cda08d1605 attempt to fix the strip club 2015-04-19 16:21:28 +02:00
9ad49ca5e5 transport button HiDPI scaling 2015-04-18 20:20:49 +02:00
b23b3e0891 HiDPI button tweaks 2015-04-18 20:20:21 +02:00
e1aa66cb3f fix mingw build 2015-04-17 18:23:10 -04:00
ebf3c6adb9 fix typo after localedir change 2015-04-17 11:55:17 -04:00
f8650acb47 Don't modify a RouteUISelection that we've just erased 2015-04-17 16:13:40 +01:00
bb4576b700 Dummy: fix sine/square frequency sweep 2015-04-17 17:09:52 +02:00
76b28e7ff2 fix novice-level mistake that causes localedir to point to random, reusable (typically stack) memory 2015-04-17 11:00:33 -04: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
d24195c41e VST: fix a copy/paste typo and possible segfault
fix by Drumfix.
2015-04-16 18:29:08 +02:00
4512d013eb put all of the Mackie control surface code into the ArdourSurface namespace 2015-04-15 20:37:20 -04:00
12cb11b286 update german translation 2015-04-15 20:19:18 -04:00
d65bf920fd update russian translation 2015-04-15 20:18:26 -04:00
7f659a0463 add ArdourSurface to OSC class to help reduce global namespace pollution 2015-04-15 17:21:55 -04:00
69e41c3b38 disable -rdynamic by default
see man 3 dlopen. Ideally we’d use RTLD_DEEPBIND,
but it’s neither portable and rather new (glibc 2.3.4).

This fixes issues with symbol conflicts in plugins
e.g. http://pastebin.com/FkFkf3Mm  (plugin expects
its own OSC[illator?] class but gets ardour’s
OpenSoundControl instead).
2015-04-15 20:31:27 +02:00
2d227a03a3 fix for memory overrun during read_peaks(), from sebastian reichelt 2015-04-15 13:32:34 -04:00
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
9391da0c24 portaudio backend: allow Pa_GetDeviceInfo to fail. 2015-04-15 03:05:09 +02:00
15bf19961f When running on Windows, hide the Engine dialog before calling 'push_state_to_backend()'
For some reason we don't understand 'push_state_to_backend()' can interfere with hiding the dialog (causing a partially hidden dialog to remain on screen). It's most likely a timing issue with the Windows version of GTK. Fortunately, reversing the calling order seems to fix it - BUT...

If there's no session loaded yet, the user can be left with a very long wait while nothing seems to be happening. The next thing the user would normally see would be the splash image. So let's display it slightly early (so the user can at least see that something's happening).

Sadly, it's all very kludgy - but a lot better than what we had before...  :)
2015-04-14 11:22:14 +01:00
2d8aa1d2ff simplify coaxing clock value out of ardour 2015-04-14 12:09:45 +02:00
edb9a24727 when building context menu for click on mixer strip, ensure clicked-on strip sets selection appropriately 2015-04-13 22:43:22 -04:00
aab777b490 add braces 2015-04-13 22:25:55 -04:00
d45620d636 now that there is only 1 effective selection, adjust add-new-track-or-bus option for after/before selection 2015-04-13 22:24:10 -04:00