Tim Mayberry [Tue, 19 May 2015 03:58:35 +0000 (13:58 +1000)]
Fix for PortAudioBackend::available_sample_rates
Was being called without initializing PA. PA should probably be initialized in
ctor but PA backend also needs to support hot-plugging devices at some point so
this will do for now
Tim Mayberry [Sat, 9 May 2015 01:42:46 +0000 (11:42 +1000)]
Support selecting separate input and output devices in portaudio backend
Tim Mayberry [Mon, 4 May 2015 03:28:41 +0000 (13:28 +1000)]
Refactor PortAudioIO::discover into three private methods
Tim Mayberry [Wed, 1 Apr 2015 12:56:45 +0000 (22:56 +1000)]
Set default input/output device based on selected host api rather than global default
Tim Mayberry [Wed, 1 Apr 2015 12:43:39 +0000 (22:43 +1000)]
Fix crash when unable to open portaudio stream
Calling Pa_Terminate after failing to open stream causes an assertion
Tim Mayberry [Wed, 1 Apr 2015 06:55:34 +0000 (16:55 +1000)]
Add host api/driver selection to PortaudioBackend
Tim Mayberry [Wed, 29 Jul 2015 05:46:26 +0000 (15:46 +1000)]
Fix state restoration in Engine dialog for Backends with driver selection
Connect to the backend_combo changed signal after setting state as calling
backend_combo.set_active_text() in set_state was triggering backend_changed(),
which would then see the driver_combo had not been set and set it to the
incorrect value.
The value/name of the backend needs to be restored first then we can populate
the driver combo and set the correct active entry from the saved state. After
which backend_changed() will populate the device combo's etc so they can then
be set to the correct active values from the saved state.
Robin Gareus [Thu, 30 Jul 2015 17:05:12 +0000 (19:05 +0200)]
make it easier to get errors out of GTK + Glib
Robin Gareus [Thu, 30 Jul 2015 15:00:03 +0000 (17:00 +0200)]
Replace "%z" modifier with glib macro for portability.
Robin Gareus [Thu, 30 Jul 2015 03:28:25 +0000 (05:28 +0200)]
fix file metadata tagging on windows.
This allows TagLib to open the file and create a Tag object (see
2a0365c)
Tagging still fails later (taglib seek/SetFilePointer fails when writing)
Robin Gareus [Thu, 30 Jul 2015 01:17:33 +0000 (03:17 +0200)]
use “CPU family” to match ppc, ppc7400, etc.
Robin Gareus [Wed, 29 Jul 2015 22:00:19 +0000 (00:00 +0200)]
prepare for MB/PPC
Robin Gareus [Wed, 29 Jul 2015 15:54:32 +0000 (17:54 +0200)]
Don’t create MTC debug string if it’s not needed.
Removes periodic call to operator<< (and eventually loadlocale)
in RT-thread in the debug version.
Robin Gareus [Wed, 29 Jul 2015 01:34:27 +0000 (03:34 +0200)]
oops.
Robin Gareus [Tue, 28 Jul 2015 18:54:43 +0000 (20:54 +0200)]
work-around OSX loadlocale thread safety.
This is not a real fix; just a stop-gap for the worst offender.
iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the
crash occurs later).
see also https://discussions.apple.com/thread/
3479591
crash in
s << c->internal_to_user (c->get_value ());
ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1 libsystem_c.dylib abort + 129
2 libsystem_malloc.dylib free + 428
3 libsystem_c.dylib __numeric_load_locale + 544
4 libsystem_c.dylib loadlocale + 216
5 libstdc++.6.dylib std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6 libstdc++.6.dylib std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7 libstdc++.6.dylib std::ostream& std::ostream::_M_insert<double>(double) + 221
8 ardour-4.1.335 ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9 ardour-4.1.335 ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10 ibpbd.dylib PBD::StandardTimer::on_elapsed()
Robin Gareus [Tue, 28 Jul 2015 16:58:17 +0000 (18:58 +0200)]
Revert "debug/fix LV2 state loading on OSX 10.5/PPC"
This reverts commit
22bc62ed4360aaea29c131cc7dead87fa25ef228.
forwarded upstream: http://dev.drobilla.net/ticket/1073
Robin Gareus [Mon, 27 Jul 2015 22:44:50 +0000 (00:44 +0200)]
don't crash if taglib cannot open file
Paul Davis [Mon, 27 Jul 2015 20:17:51 +0000 (16:17 -0400)]
Merge branch 'ovenwerks-master'
Len Ovens [Sat, 25 Jul 2015 00:42:47 +0000 (17:42 -0700)]
Clean up extra white space added by editor.
Len Ovens [Sat, 25 Jul 2015 00:34:22 +0000 (17:34 -0700)]
Handle the 4 common encoder types.
Len Ovens [Thu, 23 Jul 2015 02:28:45 +0000 (19:28 -0700)]
Added MasterPosition value=0 to all mcp device files as this is saved and will not default
Len Ovens [Tue, 21 Jul 2015 06:15:53 +0000 (23:15 -0700)]
Add enc to midi map for mcp style encoders.
Len Ovens [Mon, 20 Jul 2015 20:34:11 +0000 (13:34 -0700)]
Make program change toggle or 1 only.
Len Ovens [Mon, 20 Jul 2015 19:37:53 +0000 (12:37 -0700)]
Allow any one midi event to control only one thing.
Robin Gareus [Mon, 27 Jul 2015 17:08:29 +0000 (19:08 +0200)]
fix LV2 freewheeling port, explicit cast bool to float.
http://lv2plug.in/ns/lv2core/#freeWheeling mentions "true"
and http://lv2plug.in/ns/lv2core/#toggled defines true as > 0.
false as <= 0.
Robin Gareus [Mon, 27 Jul 2015 15:11:35 +0000 (17:11 +0200)]
debug/fix LV2 state loading on OSX 10.5/PPC
Paul Davis [Mon, 27 Jul 2015 13:41:42 +0000 (09:41 -0400)]
add Session::routes_solo_changed(), a plural method which makes changing many route solo states much faster.
Code originally by Grygorii Zharun in Tracks
Robin Gareus [Sun, 26 Jul 2015 22:41:28 +0000 (00:41 +0200)]
fixes/updates for move to ::open()
Tim Mayberry [Sun, 26 Jul 2015 02:07:41 +0000 (12:07 +1000)]
Move ARDOUR::touch_file to pbd/file_utils.h
Tim Mayberry [Sun, 26 Jul 2015 01:18:20 +0000 (11:18 +1000)]
Use g_open instead of ::open in ARDOUR::touch_file for portability
Tim Mayberry [Sat, 25 Jul 2015 12:15:47 +0000 (22:15 +1000)]
Use g_open and sf_open_fd in SndFileSource for portability
Tim Mayberry [Sat, 25 Jul 2015 11:31:42 +0000 (21:31 +1000)]
Use g_open and sf_open_fd in SndFileImportable instead of sf_open and Glib::locale_from_utf8
Tim Mayberry [Sat, 25 Jul 2015 10:58:29 +0000 (20:58 +1000)]
Use g_open instead of ::open in translation related utility functions
This is for portability on Windows
Tim Mayberry [Sat, 25 Jul 2015 10:52:52 +0000 (20:52 +1000)]
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
Tim Mayberry [Sat, 25 Jul 2015 10:17:17 +0000 (20:17 +1000)]
Use GStatBuf in AudioSource::initialize_peakfile for portability
This was initially part of
f89a976f that got reverted
Tim Mayberry [Sat, 25 Jul 2015 10:09:34 +0000 (20:09 +1000)]
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
f89a976f1a0477fba30bd7117310e6d04b370d68.
Tim Mayberry [Sat, 25 Jul 2015 10:09:32 +0000 (20:09 +1000)]
Revert "When saving a session (in a non-English locale) make sure that we use a locale-specific path"
This reverts commit
cf5a8651d848fa5333e1c567286fc0eec2b0a0f7.
Tim Mayberry [Sat, 25 Jul 2015 10:09:23 +0000 (20:09 +1000)]
Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"
This reverts commit
52ef02b387d8267315547129f7f100048a5c1166.
Tim Mayberry [Sat, 25 Jul 2015 06:43:24 +0000 (16:43 +1000)]
Add unit test to check that libxml2 expects utf-8 encoded file paths on Windows
Tim Mayberry [Sat, 25 Jul 2015 06:36:06 +0000 (16:36 +1000)]
Only create one test output directory in file copy test
Rather than one directory for each file
Tim Mayberry [Sat, 25 Jul 2015 06:33:54 +0000 (16:33 +1000)]
Add unit test to assert that using locale_from_utf8/::open will fail for some file paths on Windows
Tim Mayberry [Sat, 2 May 2015 10:14:08 +0000 (20:14 +1000)]
Remove sse optimization sources from test applications
These are already built and included in libardour
Robin Gareus [Fri, 24 Jul 2015 17:03:08 +0000 (19:03 +0200)]
tweak OSX packaging
Robin Gareus [Fri, 24 Jul 2015 16:05:08 +0000 (18:05 +0200)]
VST info: use g_fopen() for Windows compat.
Robin Gareus [Thu, 23 Jul 2015 23:33:49 +0000 (01:33 +0200)]
coreaudio aggregate device fix for 10.5
John Emmas [Thu, 23 Jul 2015 17:27:00 +0000 (18:27 +0100)]
A few more instances of non-glib 'open()' getting used without locale-specific input paths
(noticed by Todd. probably more to come...)
John Emmas [Thu, 23 Jul 2015 16:52:42 +0000 (17:52 +0100)]
When printing an XML related error, guard against NULL pointers getting passed to our error stream
John Emmas [Thu, 23 Jul 2015 16:50:36 +0000 (17:50 +0100)]
When saving a session (in a non-English locale) make sure that we use a locale-specific path
John Emmas [Thu, 23 Jul 2015 16:48:29 +0000 (17:48 +0100)]
When peakfiles get opened using a non-glib function (in a non-English locale) make sure that we pass locale-specific paths
Robin Gareus [Thu, 23 Jul 2015 16:27:07 +0000 (18:27 +0200)]
don’t bother to set OSX DMG icon on old systems
`sips -i` fails on 10.5 and SetFile does not work even if
the resource file is provided.
Robin Gareus [Thu, 23 Jul 2015 11:23:47 +0000 (13:23 +0200)]
rename Marker class
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
Robin Gareus [Thu, 23 Jul 2015 14:15:51 +0000 (16:15 +0200)]
signed/unsigned comparison
Robin Gareus [Thu, 23 Jul 2015 14:15:26 +0000 (16:15 +0200)]
amend
a73a039a3a, separate VST cache for 32/64bit
Robin Gareus [Thu, 23 Jul 2015 11:06:43 +0000 (13:06 +0200)]
avoid llabs ambiguity
(old gcc has a built-in)
Robin Gareus [Wed, 22 Jul 2015 22:04:41 +0000 (00:04 +0200)]
OSX: remove unused architectures from xjadeo & harvid
Robin Gareus [Wed, 22 Jul 2015 18:20:11 +0000 (20:20 +0200)]
fix typo in old (pre 10.6) coreaudio API wrapper
fixes aggregate device support for PPC builds.
Robin Gareus [Wed, 22 Jul 2015 10:45:24 +0000 (12:45 +0200)]
amend
a3c21ae, video-server localhost -> 127.0.0.1
Robin Gareus [Wed, 22 Jul 2015 10:09:59 +0000 (12:09 +0200)]
Robin Gareus [Wed, 22 Jul 2015 09:50:26 +0000 (11:50 +0200)]
OSX bundle libstdc++ for 10.5 support
see #6456 and
http://stackoverflow.com/questions/
6365772/unable-to-run-an-application-compiled-on-os-x-snow-leopard-10-6-7-on-another-m
hopefully this won’t break plugins which may link against
against the /usr/lib/ version. we’ll see.
Robin Gareus [Tue, 21 Jul 2015 19:49:34 +0000 (21:49 +0200)]
VST plugin title fix #6467
Robin Gareus [Mon, 20 Jul 2015 23:10:15 +0000 (01:10 +0200)]
update system config
Robin Gareus [Mon, 20 Jul 2015 23:04:03 +0000 (01:04 +0200)]
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)
Paul Davis [Mon, 20 Jul 2015 20:55:51 +0000 (16:55 -0400)]
patches to fix notebook tab tearoff on DnD.
See also https://bugzilla.gnome.org/show_bug.cgi?id=752638 for updates
on integration into GTK+ 2 and GTK+ 3
Paul Davis [Mon, 20 Jul 2015 16:57:19 +0000 (12:57 -0400)]
do not call playhead priority (auto-return) code after selections change, unless doing the
Tracks playhead priority thing
Paul Davis [Mon, 20 Jul 2015 15:57:45 +0000 (11:57 -0400)]
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.
Robin Gareus [Mon, 20 Jul 2015 14:18:34 +0000 (16:18 +0200)]
use power of 2 log-scale for parameters.
Robin Gareus [Mon, 20 Jul 2015 14:16:41 +0000 (16:16 +0200)]
copy AU parameters with plugin
fixes AU-plugin transfer function display.
(LADSPA & LV2 do not need this, connect&run pushes the
parameters)
Robin Gareus [Mon, 20 Jul 2015 12:17:54 +0000 (14:17 +0200)]
plugin analysis set block-size
fixes live spectrum analysis (for AU)
Robin Gareus [Mon, 20 Jul 2015 11:31:12 +0000 (13:31 +0200)]
configure Analysis Plugin
required for variable I/O count plugins
Robin Gareus [Sun, 19 Jul 2015 23:20:08 +0000 (01:20 +0200)]
Robin Gareus [Sun, 19 Jul 2015 23:09:01 +0000 (01:09 +0200)]
another OSX/PPC fix
Robin Gareus [Sun, 19 Jul 2015 21:24:19 +0000 (23:24 +0200)]
fix compilation w/o posix_malign
Robin Gareus [Sun, 19 Jul 2015 21:02:24 +0000 (23:02 +0200)]
OSX 10.5/PPC compat
posix_memalign is 10.6 or later
John Emmas [Sat, 18 Jul 2015 14:22:43 +0000 (15:22 +0100)]
Minor changes to ensure that MSVC knows about 'CaptureStackBackTrace()'
Paul Davis [Fri, 17 Jul 2015 15:52:45 +0000 (11:52 -0400)]
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.
Robin Gareus [Fri, 17 Jul 2015 14:08:32 +0000 (16:08 +0200)]
print name instead of ID for skipped AUs
Robin Gareus [Fri, 17 Jul 2015 14:03:24 +0000 (16:03 +0200)]
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.
Ben Loftis [Thu, 16 Jul 2015 22:14:14 +0000 (17:14 -0500)]
merge fix again
Ben Loftis [Thu, 16 Jul 2015 21:13:24 +0000 (16:13 -0500)]
merge fix
Robin Gareus [Thu, 16 Jul 2015 19:11:22 +0000 (21:11 +0200)]
offer to scan for plugins at first start.
Robin Gareus [Thu, 16 Jul 2015 18:01:44 +0000 (20:01 +0200)]
remove “Refresh” button in Plugin manager
use Preferences > Plugins
Robin Gareus [Thu, 16 Jul 2015 18:01:11 +0000 (20:01 +0200)]
clarify splash message (plugin scan/discover)
Robin Gareus [Thu, 16 Jul 2015 17:49:55 +0000 (19:49 +0200)]
prevent multiple concurrent plugin scans.
Robin Gareus [Thu, 16 Jul 2015 17:29:45 +0000 (19:29 +0200)]
Revert "Possible fix for tracker.ardour.org/view.php?id=6332"
This reverts commit
1a619472ca0d7514831476bb9be9980ffbd91f46.
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().
John Emmas [Thu, 16 Jul 2015 11:45:49 +0000 (12:45 +0100)]
Possible fix for 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).
Robin Gareus [Thu, 16 Jul 2015 14:32:38 +0000 (16:32 +0200)]
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.
Paul Davis [Thu, 16 Jul 2015 14:08:09 +0000 (10:08 -0400)]
ctrl-shift-click on solo isolate now enables AND disables solo-isolate for all routes.
It would be nice to have operate-on-selection for all this RouteUI stuff, wouldn't it?
Paul Davis [Mon, 13 Jul 2015 19:26:59 +0000 (15:26 -0400)]
separate solo isolate into two components (self-solo-isolate and solo-isolated-by-upstream)
Robin Gareus [Thu, 16 Jul 2015 13:34:37 +0000 (15:34 +0200)]
add missing return value
Robin Gareus [Thu, 16 Jul 2015 13:19:02 +0000 (15:19 +0200)]
Revert "AU discover: remember discover-at-start setting"
This reverts commit
7c3c213d4565655ab802072829979d78999315de.
Robin Gareus [Thu, 16 Jul 2015 12:59:02 +0000 (14:59 +0200)]
AU discover: remember discover-at-start setting
Prior to this every successful discovery enabled
auto-discovery at application start.
Robin Gareus [Wed, 15 Jul 2015 21:52:05 +0000 (23:52 +0200)]
-Wabsolute-value fix
Robin Gareus [Wed, 15 Jul 2015 21:40:45 +0000 (23:40 +0200)]
Robin Gareus [Wed, 15 Jul 2015 21:18:13 +0000 (23:18 +0200)]
update existing dpm meter-falloff config to new fastest.
Robin Gareus [Wed, 15 Jul 2015 21:16:18 +0000 (23:16 +0200)]
remove insanely fast meter fall-off (inaccurate)
Robin Gareus [Wed, 15 Jul 2015 17:36:49 +0000 (19:36 +0200)]
VST-info hotfix for 32/64 parallel installs.
In the long-run this needs a better solution: Dedicated cache
folders..
Robin Gareus [Wed, 15 Jul 2015 17:03:56 +0000 (19:03 +0200)]
Revert "add debug info for xjadeo binary"
This reverts commit
8af2d08f88c4a9b3faf14f6d46b2ad2cecdc8ada.
Robin Gareus [Wed, 15 Jul 2015 14:53:29 +0000 (16:53 +0200)]
fix pre-fader insert mute.
Robin Gareus [Tue, 14 Jul 2015 23:21:19 +0000 (01:21 +0200)]
fix “missing operator<< for PBD::ID” (clang)
Robin Gareus [Tue, 14 Jul 2015 18:17:30 +0000 (20:17 +0200)]
migrate bundled-plugin site