13
0
Commit Graph

8763 Commits

Author SHA1 Message Date
ba14063463 Use g_open and sf_open_fd in SndFileImportable instead of sf_open and Glib::locale_from_utf8 2015-07-25 23:14:51 +10:00
ecb4a76095 Use g_open instead of ::open in translation related utility functions
This is for portability on Windows
2015-07-25 23:14:51 +10:00
544be3ebe8 Use g_open instead of ::open in AudioSource for portability
This is only really for Windows as g_open and ::open are the same thing on
other platforms
2015-07-25 23:14:51 +10:00
e88f74cbb0 Use GStatBuf in AudioSource::initialize_peakfile for portability
This was initially part of f89a976f that got reverted
2015-07-25 23:14:51 +10:00
0d356174ae Revert "When peakfiles get opened using a non-glib function (in a non-English locale) make sure that we pass locale-specific paths"
This reverts commit f89a976f1a.
2015-07-25 23:14:51 +10:00
44cba53219 Revert "When saving a session (in a non-English locale) make sure that we use a locale-specific path"
This reverts commit cf5a8651d8.
2015-07-25 23:14:50 +10:00
e3c303d72f Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"
This reverts commit 52ef02b387.
2015-07-25 23:14:50 +10:00
b2ff1e1734 Add unit test to check that libxml2 expects utf-8 encoded file paths on Windows 2015-07-25 23:14:50 +10:00
226087d06a Only create one test output directory in file copy test
Rather than one directory for each file
2015-07-25 23:14:50 +10:00
dfe2ac1d38 Add unit test to assert that using locale_from_utf8/::open will fail for some file paths on Windows 2015-07-25 23:14:45 +10:00
545fd78a14 Remove sse optimization sources from test applications
These are already built and included in libardour
2015-07-25 17:19:17 +10:00
6c87a43f0e VST info: use g_fopen() for Windows compat. 2015-07-24 18:05:08 +02:00
64baed2b97 coreaudio aggregate device fix for 10.5 2015-07-24 01:34:57 +02:00
52ef02b387 A few more instances of non-glib 'open()' getting used without locale-specific input paths
(noticed by Todd. probably more to come...)
2015-07-23 18:27:00 +01:00
cf5a8651d8 When saving a session (in a non-English locale) make sure that we use a locale-specific path 2015-07-23 17:55:13 +01:00
f89a976f1a When peakfiles get opened using a non-glib function (in a non-English locale) make sure that we pass locale-specific paths 2015-07-23 17:55:13 +01:00
2cc64168d3 signed/unsigned comparison 2015-07-23 16:15:51 +02:00
97de33d199 amend a73a039a3a, separate VST cache for 32/64bit 2015-07-23 16:15:26 +02:00
2524115992 avoid llabs ambiguity
(old gcc has a built-in)
2015-07-23 13:06:43 +02:00
c0aa5a8d6b fix typo in old (pre 10.6) coreaudio API wrapper
fixes aggregate device support for PPC builds.
2015-07-22 20:20:11 +02:00
f7e10d0fe8 VST plugin title fix #6467 2015-07-21 21:49:34 +02:00
a3c21aee84 bye bye Unix.
An IPv4 or IPv6 address query for the name localhost must always resolve to the respective loopback address [rfc6761].

According to several users, apparently chromebook and OSX `host localhost` fails but configuring 127.0.0.1 works. (maybe a DNS/DHCP issue?! or ipv6)
2015-07-21 01:12:39 +02:00
7198908a00 do not call playhead priority (auto-return) code after selections change, unless doing the
Tracks playhead priority thing
2015-07-20 12:57:19 -04:00
a81cba17a6 fix auditioning on systems with larger disk read chunk sizes.
This really brings into focus the question of whether any of the "varifill" code should
really remain. This was probably one of the only remaining places where a partial-fill
operation was done and the code was broken for this case. What we know about disk i/o
streaming doesn't support varifill much at all. Something to think about.
2015-07-20 12:10:38 -04:00
5e5e56f589 use power of 2 log-scale for parameters. 2015-07-20 16:18:34 +02:00
3f4acaef80 copy AU parameters with plugin
fixes AU-plugin transfer function display.

(LADSPA & LV2 do not need this, connect&run pushes the
parameters)
2015-07-20 16:17:29 +02:00
61a084e0ad configure Analysis Plugin
required for variable I/O count plugins
2015-07-20 13:31:12 +02:00
7742d07b3a fix compilation w/o posix_malign 2015-07-19 23:24:19 +02:00
2f10fb5b96 OSX 10.5/PPC compat
posix_memalign is 10.6 or later
2015-07-19 23:02:24 +02:00
e29fd9a2fd Minor changes to ensure that MSVC knows about 'CaptureStackBackTrace()' 2015-07-18 15:22:43 +01:00
8587fef16a do not carry out a size check on peakfiles for files still being recorded.
The size check (and possible rebuild) causes a crash with MSVC. It would be nice to know
more about why.
2015-07-17 11:52:58 -04:00
a78cb6b341 print name instead of ID for skipped AUs 2015-07-17 16:08:32 +02:00
9da934ff29 reworked variant of john’s soundfile locale fix
see 87b89a6

IMPORTANT NOTE: In theory, the correct glibmm function should have been Glib::filename_from_utf8() but I couldn't make that work on Windows and 
ended up using Glib::locale_from_utf8() instead. sfdb import will therefore
need to get re-tested on the other platforms (especially in a non-English locale).


If this fix doesn't work we should probably revert to the previous strategy
but using the global specifier "::g_open()" explicitly…
… and only on PLATFORM_WINDOWS  (POSIX #define g_open open) fails regardless.
2015-07-17 16:03:24 +02:00
46c8369328 merge fix 2015-07-16 16:13:24 -05:00
1ed63c5247 clarify splash message (plugin scan/discover) 2015-07-16 20:01:11 +02:00
700c7b225f prevent multiple concurrent plugin scans. 2015-07-16 19:49:55 +02:00
87b89a605f Revert "Possible fix for http://tracker.ardour.org/view.php?id=6332"
This reverts commit 1a619472ca.

On Unix systems "#define g_open open" interferes with class member function
IMHO this is the wrong approach, the filename should be converted using
glib::filename_from_utf8().
2015-07-16 19:29:45 +02:00
1a619472ca Possible fix for http://tracker.ardour.org/view.php?id=6332
For sfdb stuff, use glib file functions in preference to ANSI or libsndfile handling. On Windows, we need functions which understand UTF-8 (so that we'll be able to import sound files, even in a non-English locale).
2015-07-16 18:27:52 +02:00
93b90396d2 rework AU scanning/discovery
Scan-only: “Iterate over all plugins. skip the ones where there's no
 io-cache entry

Discover: cache new plugins info, update cache if needed.
2015-07-16 16:54:57 +02:00
8a686632a0 separate solo isolate into two components (self-solo-isolate and solo-isolated-by-upstream) 2015-07-16 10:11:04 -04:00
782aa6aa47 add missing return value 2015-07-16 15:34:37 +02:00
6c10ddc339 Revert "AU discover: remember discover-at-start setting"
This reverts commit 7c3c213d45.
2015-07-16 15:19:02 +02:00
7c3c213d45 AU discover: remember discover-at-start setting
Prior to this every successful discovery enabled
auto-discovery at application start.
2015-07-16 14:59:02 +02:00
6dbe10dcfd -Wabsolute-value fix 2015-07-15 23:52:05 +02:00
9bf381db0a amend 3a5ac7f 2015-07-15 23:40:45 +02:00
3a5ac7f37f update existing dpm meter-falloff config to new fastest. 2015-07-15 23:18:13 +02:00
aa87e52c3b VST-info hotfix for 32/64 parallel installs.
In the long-run this needs a better solution: Dedicated cache
folders..
2015-07-15 19:36:49 +02:00
42bfc63d7a fix pre-fader insert mute. 2015-07-15 16:53:29 +02:00
b7b1f9a0a6 fix “missing operator<< for PBD::ID” (clang) 2015-07-15 01:21:19 +02:00
d8f3f9f02d Move learned midi binding reload after midi map load (fixes #6405) 2015-07-13 13:47:00 -07:00
fa3896a483 use “1” as small-step for integer controls. 2015-07-13 15:33:46 +02:00
56ba08b7cb implement scroll-wheel support for ClickBoxes 2015-07-13 15:33:15 +02:00
f4229968d9 keep invisible processors enabled.
fixes issues with --disable-plugins disabling internal returns
(and breaking existing aux-sends).
2015-07-13 13:19:24 +02:00
5e7d9d30e2 fix verbose plugin scan 2015-07-11 22:16:33 +02:00
deedb25ab6 add pingback URL for windows 2015-07-11 21:46:25 +02:00
4baf634a67 prepare verbose plugin scanning (log VST details) 2015-07-11 21:46:25 +02:00
937ed39c45 fix PBD::ID string format 2015-07-11 05:17:02 +02:00
ed8ab2c80a Fixed pb in toggle mode to switch at half way (fixes #6424) 2015-07-10 16:52:43 -04:00
a29b050883 Fixed generic MIDI program change event size to two bytes (fixes #6426) 2015-07-10 16:52:43 -04:00
6349570fb2 Add debug for generic midi control 2015-07-10 16:52:43 -04:00
4c608b6e04 assign new IDs to plugin copies on paste.
when copying a plugin the state is transferred by serializing
XML and setting state from XML. This state includes the unique ID.

This ID needs to be identical at first in order to load
the state from <session-dir>/plugins/<ID>/*
2015-07-10 22:09:18 +02:00
9ab76a5cf0 fix previous commit double dot in file ext. 2015-07-10 19:02:46 +02:00
a73a039a3a separate VST blacklist for 32/64bit 2015-07-10 18:54:26 +02:00
40c603c7e9 UTF8 encode windows device names - potential fix for #6418 2015-07-08 11:34:57 +02:00
15d150603c use default meter type when creating new tracks/busses 2015-07-05 17:15:01 +02:00
8bd32dc4ce prepare default meter-type config 2015-07-05 17:12:30 +02:00
4f81b17e85 another float/double -Wabsolute-value fix 2015-07-05 16:13:08 +02:00
7a7c87d5f4 remove tabs from python code 2015-07-05 14:50:13 +02:00
fa7bb93329 fix jack_port_get_aliases return value (if n/a) 2015-07-04 12:54:41 +02:00
a68221e323 fix jack/pthread windows condition 2015-07-04 11:49:44 +02:00
9ccfb921d4 synchronize with https://github.com/x42/weakjack/ 2015-07-04 11:46:09 +02:00
416ef93635 use a trick to compile JACK/win with new and old headers
jack/systemdeps.h is jack2-only and contains many
windows-specific typedefs (native windows threads, ptw32 threads, MSVC
special cases etc etc.) which are not present in jack1/shared headers.
2015-07-04 09:52:04 +02:00
58a7b0e137 fix side-effect of moving to jack1 headers 2015-07-04 05:59:37 +02:00
278cd98799 fix compilation with mingw + pthreads 2015-07-04 05:48:42 +02:00
efb9da770d fix use of += in waf variable 2015-07-04 05:43:34 +02:00
c905be691d only compile, don’t link & run jack checks 2015-07-04 04:24:22 +02:00
d48a5f7068 fix weak jack w/new jack_port_rename() 2015-07-04 00:20:12 +02:00
35ab6e9075 fix error in type definition for weak jack handling of jack_port_rename 2015-07-02 14:24:49 -04:00
b8b5d0b4c7 alternative fix for the same problem that 9e2048decf was addressing 2015-07-02 14:15:11 -04:00
aaab192436 add conditional use of jack_port_rename(), a newly added public API for JACK 2015-07-02 14:02:07 -04:00
9e2048decf Don’t use invalid iterator during cleanup. fixes #6403 2015-07-02 19:46:38 +02:00
466af2a80b don’t compile tracks specific sources for ardour. 2015-07-02 15:32:29 +02:00
fe5852fc1d MSVC doesn't like us calling 'sqrt()' with integers (it doesn't have a version which takes an int)
So let's specify which version we'd like it to use.
2015-07-02 08:23:38 +01:00
f814045f80 MSVC doesn't have 'sleep()' (it uses 'Sleep()' with a capital 'S') so let's make sure it'll still compile
(see the note about possibly using 'Glib::usleep()' ??)
2015-07-02 08:23:38 +01:00
51dd5b525b Add some newly introduced sources to our MSVC project (gtkmm2ext) 2015-07-02 08:23:37 +01:00
2d098c346a add a raw CoreMidi data debug mode 2015-07-01 22:14:30 +02:00
b687ed9339 consolidate & document Coreaudio midi parser 2015-07-01 18:14:48 +02:00
da0ca57539 NOOP, reindent & whitespace 2015-07-01 01:18:52 +02:00
b86cf68e1f add an explicit midi parser/chunker to CoreAudio 2015-07-01 01:12:30 +02:00
619a517f2a when seeking, completely refill buffers rather than just a partial refill 2015-06-30 10:47:17 -04:00
ea4ffbb674 prevent stuck & vanishing tooltips
the window needs to be moved in place before presenting it.
Otherwise it is displayed at mouse-pos and moving it triggers enter/leave,
which in turn re-start the timeout..
2015-06-30 13:08:22 +02:00
efa170b6bc stop PersistentTooltip flicker.
timeout is used for a *one-time* delayed display of the tooltip.
2015-06-30 13:05:42 +02:00
5296a364c4 pthread_equal returns non-zero if equal. amend 5ab0288 2015-06-30 09:17:43 +02:00
5ab0288c99 at least make it compile with mingw. 2015-06-30 09:11:05 +02:00
f1aa1a0a11 fix headers for case-sensitive FS. 2015-06-30 08:18:52 +02:00
1adc5d5cf4 Revert "fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected"
This reverts commit dddf76abf5.

it is relevant for Ardour/OSX, see 58fec98a and da43652
2015-06-30 08:11:06 +02:00
4b93bb6f9a fix -Wabsolute-value 2015-06-30 04:37:14 +02:00
0274aafdb0 store all error/info/etc messages in a list inside Gtkmm2ext::UI, and provide a method to dump them all to a std::ostream 2015-06-29 16:27:03 -04:00
b79bfe8793 remove debugging output 2015-06-29 14:18:16 -04:00
205f9bca96 push seek-after-state-loaded into butler thread, to avoid multiple threads doing disk i/o related stuff 2015-06-29 14:18:16 -04:00
a51dcaaa21 implement Ardour-only version of playhead priority, which is basically auto-return to last roll location or nothing 2015-06-29 14:18:16 -04:00
3392c05779 volatile should not be used to describe non-hardware lvalues, and fix const cast warning (which removes need for mutable) 2015-06-29 14:18:16 -04:00
5bde11fa98 fix unused but usable variable warning 2015-06-29 14:18:15 -04:00
060f9cb355 fix const-cast warnings 2015-06-29 14:18:15 -04:00
438f3e5141 remove const warning in SMF C code by changing function parameter argument qualifier 2015-06-29 14:18:15 -04:00
2e87b7f24f comment unused but potentially usable variables 2015-06-29 14:18:15 -04:00
ec16c454ef comment unused but potentially usable variables 2015-06-29 14:18:15 -04:00
bbece8f8d9 try using threaded waveviews in tracks also 2015-06-29 14:18:15 -04:00
GZharun
6584a89c4e Fixed incomplete merge for audioengine.cc
[To be reviewed by] Paul Davis
2015-06-29 14:18:15 -04:00
a38e67d55b never use threaded waveview rendering for Tracks 2015-06-29 14:18:15 -04:00
0bbe7ad96b comment out two verbose debugging outputs 2015-06-29 14:18:15 -04:00
329753241f clip level is adjusted only by region amplitude (which is audible), not by _amplitude_above_axis 2015-06-29 14:18:15 -04:00
bace0e85dc attempt to correctly respond to changes in _amplitude_above_axis in ArdourCanvas::WaveView 2015-06-29 14:18:15 -04:00
2e29e7ee62 increase debug bitset size to accomodate additional debug bits imported from Tracks 2015-06-29 14:18:15 -04:00
0e72e8446a update waves' fader implementation, clean up whitespace, indentation, variable initialization and remove unused members 2015-06-29 14:18:15 -04:00
8e9bb12f92 no-op: fix whitespace/indentation 2015-06-29 14:18:15 -04:00
GZharun
dd0a73e2d4 Fixed use case when session is being replaced with new session with the same name.
We should check session state file (*.ardour) presence to determine if the session is new for TracksLive as TracksLive has a use case which gives user a possibility to replace existing session by clicking on it's state file when new session is being created.
[To be Reviewed by] Paul Davis
2015-06-29 14:18:15 -04:00
GZharun
c13d3ff790 [Summary] This action is duplicated. To make TRX features work correctly this flag should be dropped later.
[To be Reviewed by] Paul Davis
2015-06-29 14:18:15 -04:00
d4bd394b4b Revert "remove unused variables". They are used on OS X.
This reverts commit 0fba19e9e6e6c519c89ce63149581b8f24b38c8c.
2015-06-29 14:18:15 -04:00
8c4b899352 remove unused variables 2015-06-29 14:18:15 -04:00
e6b4c9f610 fix whitespace/indentation and compiler warnings 2015-06-29 14:18:15 -04:00
03dbf7857e remove compilation warning (-Wunused-but-set-variable) 2015-06-29 14:18:15 -04:00
93a64cb4fc new PBD::DEBUG API changes for Waves backend 2015-06-29 14:18:15 -04:00
6bdac56998 some more information output to log during save-as, for debugging 2015-06-29 14:18:15 -04:00
b6a8f1fbf5 two required changes to default values for Tracks 2015-06-29 14:18:15 -04:00
ca25a664d3 Tracks doesn't know how to handle Engine (JACK) sync 2015-06-29 14:18:15 -04:00
92b023b908 fix API version SNAFU caused by re-copying EngineStateController out of Tracks 2015-06-29 14:18:15 -04:00
0f9cac978e (re)implement Yevgeny's LTC branch changes in the context of ardour-merge-from-tracks (just the libs/* section) 2015-06-29 14:18:15 -04:00
e20242c242 fix indentation and style guide issues in new EngineStateController code 2015-06-29 14:18:15 -04:00
GZharun
bdbad46dee copy current EngineStateController from Tracks to import Yevgeny's LTC (re)connection related changes 2015-06-29 14:18:15 -04:00
dddf76abf5 fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected 2015-06-29 14:18:15 -04:00
Nikolay
55658c3aae [Summary] Mac OS specific bug fix: Increased priority of the top menu bar events
[Details] g_idle_add () which was used for this purpose used G_PRIORITY_DEFAULT_IDLE>=200 which was too low for correct main menu requests processing, like showing Mixer or Big Clock Window.

The priority was increased to G_PRIORITY_HIGH_IDLE = 100.
According to GTK manual (https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS)
GTK+ uses G_PRIORITY_HIGH_IDLE + 10 = 110 for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 = 120 for redrawing operations.

I assume that during record or playback on tracks there are too many redraw request which didn't give any chance for main menu request to be processed in time with old priority value.

This change must be considered as a hot fix so far.
The issue might be deeper. Will be investigated with Paul.

[Feature reviewed] AMishyn
[Reviewed by] PDavis, GZharun
2015-06-29 14:18:15 -04:00
a9e84cee27 new file holding non-AVX stubs for AVX functions on linux 2015-06-29 14:18:15 -04:00
GZharun
40ddbc6195 Fixed up types mismatch in AudioCallback and AudioCllbackData struct 2015-06-29 14:18:15 -04:00
76f066f40c fix typo in wavesbackend code 2015-06-29 14:18:15 -04:00
0a433b2d07 Revert "add operator bool() to Evoral::Beats"
This reverts commit f8b5263af5e4d5088f1d5551e999679515add432.

OS X compiler gets confused by this change.
2015-06-29 14:18:14 -04:00
16c34acc88 add operator bool() to Evoral::Beats 2015-06-29 14:18:14 -04:00
d27dc3557e new Session::default_track_name_pattern (DataType) method, based on an idea in Tracks 2015-06-29 14:18:14 -04:00
c66ea2c170 add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string 2015-06-29 14:18:14 -04:00
GZharun
dbe0d5a649 Fixed up the comment 2015-06-29 14:18:14 -04:00
a624573ee6 add additional check for playhead priority target when testing loop range, to match Tracks' logic 2015-06-29 14:18:14 -04:00
cb38b4689b add Session::reconnection_in_progress(), used by Tracks 2015-06-29 14:18:14 -04:00
3b1609fc52 use the frame/sample based inter-scene gap, not the msecs one (now removed) 2015-06-29 14:18:14 -04:00
60b16811b7 scene gap is measured in frames, not msecs.
Could have used "samples" here but that can wait till we do a big rename
throughout the code base
2015-06-29 14:18:14 -04:00
5d41ab6983 add some session-scope configuration variables needed by Tracks.
Also add some comments regarding the presence of certain variables in this file
2015-06-29 14:18:14 -04:00
8ac5ef15f0 add more directory names to set managed via various APIs (automation, analysis, plugins, externals) 2015-06-29 14:18:14 -04:00
GZharun
b33d1732a6 Fixed a misprint in a comment 2015-06-29 14:18:14 -04:00
c2476ea73d add API for controlling and determining active status of a SceneChange
Conflicts:
	libs/ardour/ardour/scene_change.h
2015-06-29 14:18:14 -04:00
GZharun
51d2804535 Waves Backend MERGED from Tracks
[To be reviewed by] Paul Davis
2015-06-29 14:18:14 -04:00
GZharun
5d4f1c3419 Backend MERGE:
Paul Davis' change 3d12a4da82
[To be reviewed by] Paul Davis
2015-06-29 14:18:14 -04:00