Commit graph

7778 commits

Author SHA1 Message Date
Greg Zharun
f2a3e0c877 [Summary] By requirements, METER peaks should be computed taking into account negative sample values along with positive discarding the sign.
AVX version of compute_peak() function MUST ignore sign bit taking modulo of the sample value.

[Reviewed by] YPozdnyakov
2015-04-30 23:08:47 +03:00
Nikolay
37790cb764 [Summary] Fix bug in commit: According PRD change colour of numeric peak indicator background depend on its value. 5ab6bbe6e1 [5ab6bbe]
Also show value "0.0" in numeric peak indicator instead of "-0.0"
[Feature reviewed] AMishyn
[Reviewed] GZharun
2015-04-29 16:38:46 +03:00
GZharun
a4804382bf [Summary] Doxygen documentation for EngineStateController
[Details] Removed unused variable
[Reviewed by] NPolyanovskiy
[Review required] VKamyshniy, YPozdnyakov
2015-04-29 14:31:09 +03:00
Nikolay
7fa517dd8e [Summary] Changed class PersistentTooltip. Now it can be used for 'non-draggable' tooltips.
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
2015-04-27 18:32:00 +03:00
Nikolay
5ab6bbe6e1 [Summary] According PRD change colour of numeric peak indicator background depend on its value. Do not change numeric peak indicator button on its click (when reset) (Igor Maximenko's request).
[Feature reviewed] Igor Maximenko, MKosharnyy
[Reviewed] VKamyshniy
2015-04-27 18:30:07 +03:00
Nikolay
0f13654646 [Summary] Bug fix# 45828 "Incorrect lowest boundaries shown on meter scale"
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
2015-04-27 18:23:35 +03:00
Nikolay
9c0f513561 [Summary] Bug fix #46629 "Holding Shift key changes mouse wheel scroll direction on Track Fader in Mixer View"
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
2015-04-27 18:18:40 +03:00
Greg Zharun
8a06144bd0 [Summary] To make build portable on systems with a processor which does not support AVX, only file which contains AVX intrinsics should be compiled with -mavx flag
[Reviewed by] Paul Davis
2015-04-22 11:06:26 +03:00
Greg Zharun
20ceb76ead [Summary] Made optimized function Prototypes more correct. They shouldn't be dependant on ARDOUR types as long as they will work correctly with FLOAT samples only and with 32 unsigned int as sample counter.
[Reviewed by] Paul Davis
2015-04-22 10:21:06 +03:00
Greg Zharun
c7892a3738 [Summary] Corrected comments for x86_sse_avx_find_peaks() intrinsics built function 2015-04-21 22:31:33 +03:00
GZharun
2a84e1d0c5 Merge branch 'performance' 2015-04-21 13:57:41 +03:00
VKamyshniy
869b456352 [Summary] Progressing the recent session templates feature. 2015-04-21 00:46:06 +03:00
YPozdnyakov
69124c9577 [Summary]: change LTC code according to actual ardour version. 2015-04-17 16:25:35 +03:00
Greg Zharun
2e763add60 [Summary] Added optimized AVX function for sample processing
[Details] Added AVX versions of existing 5 SSE functions. Added 6th AVX function to copy vectors which is 1.5 times faster then memcpy.
Data consistency and validness  is fully tested after processing with new AVX functions on aligned and non aligned buffers.
2015-04-16 15:52:04 +03:00
Greg Zharun
81dbdc4c3f [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-16 12:18:31 +03:00
VKamyshniy
f2061a9c1c [Summary] Merging from ardour to fix warning:
..\libs\pbd\mountpoint.cc: In function 'std::string mountpoint(std::string)':
..\libs\pbd\mountpoint.cc:103:1: warning: no return statement in function returning non-void [-Wreturn-type]
2015-04-15 18:07:12 +03:00
Valeriy Kamyshniy
5a673f6635 [Summary] Making duration of newly created session 0. Changing time added to last recorded region with 5. 2015-04-14 13:18:38 +03:00
Greg Zharun
394ee5e575 [Summary] Review fixes for 7cc7b15070
[Reviewed by] YPozdnyakov
2015-04-14 12:46:02 +03:00
Greg Zharun
7cc7b15070 [Summary] AudioPort buffer does not need 64 byte alignment which cache_aligned_malloc provides.
Added new function which accepts argument to specify required alignment.

AudioPort buffer requires 32 byte alignment

[Review Required] YPosdnyakov
2015-04-10 18:08:13 +03:00
Greg Zharun
ef1fd2b67e [Summary] Added user defined extended alignment for WavesAudioPort.
[Revieded by] YPozdnyakov
2015-04-09 13:47:35 +03:00
Greg Zharun
d1da81e798 [Summary] Added correct memory alignment for Windows in ../pbd/malign.h
[Reviewed by] YPozdnyakov
2015-04-09 13:27:57 +03:00
Greg Zharun
438bdbfba5 [Summary] Used SSE optimized function to mix port buffer data 2015-04-08 16:53:49 +03:00
Greg Zharun
8612cc1c0a [Summary] Added SSE sound processing functions support for Windows. Version 1. 2015-04-08 16:29:33 +03:00
Paul Davis
b85b3e4135 reset path for all existing file sources in session during Session::save_as().
This does NOT work with MIDI files, but since this is Tracks Live, this is not currently a concern.
The fix for MIDI will be worked out in Ardour once the saveas branch is merged and then cherry-picked
back to Tracks Live.
2015-04-06 21:16:29 -04:00
Valeriy Kamyshniy
a816a5da2c [Summary] IMPLEMENTED FEATURE: When saving Template, the entered name of template entered by means of save file dialog, is the name of end file (what is not name of folder for end file). If user did not enter .template as extension of the file, this extension is added implicitly. For example, if user enters MyTemplate, the name of file will be MyTemplate.template. If user enters My.TeMpLaTe or My.Template or My.template or my.TEMPLATE, the name will be as user entered.
[Review required] YPozdnyakov, Paul Davis
2015-04-07 01:19:25 +03:00
Valeriy Kamyshniy
a51b033f9f [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
2015-04-06 21:26:34 +03:00
Paul Davis
65a7fef104 add const-cast to another case of g_atomic_int_get() 2015-04-06 14:11:21 -04:00
Paul Davis
6570c61d31 after save-as, if switching to new session, reset all track write sources to use new session path 2015-04-06 12:00:47 -04:00
Valeriy Kamyshniy
407d3c60bc [Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in the session recent list.
[Reviewed] YPozdnyakov
2015-04-06 13:04:15 +03:00
Valeriy Kamyshniy
cc95d1065b [Summary] Adding informative message to failed file copy exception in Session::save_as.
[Review required] Paul Davis
2015-04-03 02:15:35 +03:00
Valeriy Kamyshniy
f1d6e66560 [Summary] Just adding comment for better code-maintaining. 2015-04-03 01:31:44 +03:00
Valeriy Kamyshniy
188b0e54e6 [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-04-03 00:25:56 +03:00
Valeriy Kamyshniy
04cfd1bd1e [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 21:51:23 +03:00
YPozdnyakov
f49d31a820 [Summary]: fix bug #46893. Main menu commands inactive after Tracks stopped after longterm record session. Rename MainMenuDiabled -> MainMenuDiabler 2015-04-01 17:08:29 +03:00
GZharun
ae5d04be9b [Summary] Disabled port_bundles handling for TracksLive
[Reviewed by] YPozdnyakov
2015-04-01 16:42:45 +03:00
Nikolay
75f7211a40 [Summary] Route Inspector rework. Added ScrollBar to info label.
Fixed bug #46987 "Tracks name list displayed under inspector channel strip",
#46986 "Inspector does not show full list of tracks in session".
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
2015-03-31 16:22:43 +03:00
Valeriy Kamyshniy
aa04f96896 [Summary] Progressing saving and loading templates with open & save file dialogs. Route and Location colors should be saved even in case session is not saved yet.
[Reviewed] YPozdnyakov
2015-03-30 14:57:26 +03:00
VKamyshniy
1a6ead0914 [Summary] Progressing saving and loading templates with open & save file dialogs.
[Reviewed] YPozdnyakov
2015-03-27 12:42:43 +02:00
VKamyshniy
e0f9731049 [Summary] Merging recent state from Ardour. 2015-03-27 12:42:42 +02:00
Nikolay
19bc365c21 [Summary] Bug fix #44332 "Please fit the Pan values monitor to channel borders"
[Feature reviewed] AMishyn
[Reviewed] VKamyshniy
2015-03-25 10:55:55 +02:00
GZharun
5f29c11b70 [Summary] Prohibit reconnection when IO is not ready. 2015-03-23 17:23:05 +02:00
GZharun
7f88fe16f2 [Summary] Do not restore routes connection using XML IO state for TracksLive, because this is redundant for TracksLive.
Moreover if the device is changed XML state of IO contains port names of  the old device which causes attempts to connect to non existent ports.
[Reviewed by] Paul Davis
2015-03-23 13:51:45 +02:00
GZharun
82a55c48a6 [Summary] Fixed bug 46890: Tracks doesn't switch current Sample Rate value to 48kHz when Dante Virtual Soundcard selected as interface
[Reviewed by QA] AMishyn
2015-03-20 14:07:20 +02:00
Valeriy Kamyshniy
ddfc0089a0 [Summary] Removing debug output 2015-03-13 14:04:42 +02:00
GZharun
d491b1a387 [Summary] Fixed issue with device activation if it does not support Tracks default sample rate 44,1kHz. In this case for first start of the device the first sample rate from the list of available must be used. 2015-03-11 12:07:55 +02:00
GZharun
e2a9446527 [Summary] Fixed issue: When device is changed it must not change session SR.
Removed rudimentary _desired_sample_rate member which does required for TracksLive workflow.
2015-03-04 10:46:30 +02:00
GZharun
2c8efe68dd [Summary] Fixed issue 46699
[Details] Desired sample rate must be set by the session only when session loads
2015-03-03 18:43:39 +02:00
GZharun
766f35e41b [Summary] Disabled debug logs for MIDI device 2015-03-03 18:16:53 +02:00
Greg Zharun
ddc9c7210b [Summary] Removed unnecessary line of code 2015-03-03 17:50:13 +02:00
Greg Zharun
8b9cf13a7f [Summary] Disabled logs 2015-03-03 16:21:31 +02:00