Robin Gareus [Mon, 3 Aug 2015 21:03:48 +0000 (23:03 +0200)]
VST cache file transition.
Robin Gareus [Mon, 3 Aug 2015 20:57:10 +0000 (22:57 +0200)]
don’t set paClipOff, have portaudio clip to -1,+1
Fixes issues with some integer drivers where overflow wraps
(values > 1.0 end up at -1, producing a hard click)
Robin Gareus [Mon, 3 Aug 2015 20:53:53 +0000 (22:53 +0200)]
Windows XP compat
Tim Mayberry [Mon, 3 Aug 2015 13:26:54 +0000 (23:26 +1000)]
Fix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds
MIDI input doesn't work with -O3 or -O2 optimization levels, no real idea why
at this point. So just append -O0 to CXXFLAGS to override previous optimization
flags for compiling the PortaudioBackend files
Robin Gareus [Mon, 3 Aug 2015 13:54:55 +0000 (15:54 +0200)]
don't resize plugin-scan-report window, use sensitivity.
Robin Gareus [Mon, 3 Aug 2015 13:45:31 +0000 (15:45 +0200)]
dump VST blacklist at end of scan
Robin Gareus [Mon, 3 Aug 2015 13:17:25 +0000 (15:17 +0200)]
translatable VST error/info messages
Robin Gareus [Mon, 3 Aug 2015 13:16:29 +0000 (15:16 +0200)]
fix byte-order detection for gcc < v4.4.
Tim Mayberry [Mon, 3 Aug 2015 03:00:00 +0000 (13:00 +1000)]
Fix typo in 8c45d4 preventing compile
Robin Gareus [Mon, 3 Aug 2015 00:13:35 +0000 (02:13 +0200)]
sha1: cleanup & separate unit test
Robin Gareus [Sun, 2 Aug 2015 22:25:19 +0000 (00:25 +0200)]
VST cache rework (part one)
Don’t clutter up actual vst-plugin dirs with additional files.
Use dedicated folder for VST info-cache; use sha1-hash (of absolute dll
path) for .fsi file.
Use a single blacklist file (one path per line) instead of individual
.fsb files per plugin.
Robin Gareus [Sun, 2 Aug 2015 22:13:46 +0000 (00:13 +0200)]
add sha1-hash calc.
Robin Gareus [Fri, 31 Jul 2015 11:18:32 +0000 (13:18 +0200)]
quiet unzip
John Emmas [Fri, 31 Jul 2015 12:48:25 +0000 (13:48 +0100)]
Specifically #include <mmsystem.h> to get us TIMECAPS
(not sure why windows.h isn't already #including this for us - but it doesn't seem to be)
John Emmas [Fri, 31 Jul 2015 12:45:18 +0000 (13:45 +0100)]
Add some newly introduced sources to our MSVC project (portaudio_backend)
John Emmas [Fri, 31 Jul 2015 12:43:22 +0000 (13:43 +0100)]
Use llabs (rather than std::abs) for compatibility with MSVC
MSVC doesn't offer an override which accepts int64_t (at least, the 32-bit compiler doesn't)
John Emmas [Fri, 31 Jul 2015 12:41:16 +0000 (13:41 +0100)]
Use BOOL (rather than WINBOOL) for compatibility with MSVC
(WINBOOL is MinGW specific)
Robin Gareus [Fri, 31 Jul 2015 00:28:12 +0000 (02:28 +0200)]
add missing pthread.h includes
Tim Mayberry [Mon, 20 Jul 2015 11:44:46 +0000 (21:44 +1000)]
Add functionality to show ASIO control panel
Tim Mayberry [Thu, 30 Jul 2015 02:09:43 +0000 (12:09 +1000)]
Use MMCSS to elevate the thread priorities for audio and MIDI threads
use AVRT_PRIORITY_NORMAL for audio threads and AVRT_PRIORITY_HIGH for MIDI
threads
Tim Mayberry [Wed, 29 Jul 2015 22:40:41 +0000 (08:40 +1000)]
Add MMCSS related code for raising thread priority on Windows
Tim Mayberry [Wed, 29 Jul 2015 03:28:17 +0000 (13:28 +1000)]
Implement AudioBackend::driver_name() in PortaudioBackend
This was missing and is necessary for EngineControl dialog to work properly
Tim Mayberry [Thu, 30 Jul 2015 02:12:10 +0000 (12:12 +1000)]
Add extra DEBUG_TRACE output to PortaudioBackend
Tim Mayberry [Sun, 17 May 2015 10:55:04 +0000 (20:55 +1000)]
WinMME based midi input/output for portaudio backend
TODO:
Use MMCSS to elevate thread priorities
Enable/test and fix SYSEX related code
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