13
0
Commit Graph

17735 Commits

Author SHA1 Message Date
8a08d99058 rework VST processing/buffering (no more alloca).
TODO: check Bufferset/VSTBuffer, eventually remove 
the VST_IN_PLACE ifdef’s
2015-08-05 23:24:52 +02:00
35a9c631c1 VST replaceProcessing () != in-place processing. 2015-08-05 22:14:57 +02:00
093df74a9c update unit-tests (new Dummy backend name since a9b6277) 2015-08-05 20:24:57 +02:00
7aeead630a adjust click box size - fixes #6499 2015-08-05 19:53:33 +02:00
8a8b5db2c3 add synth when drag/drop importing .mid - fixes #6474 2015-08-05 17:53:03 +02:00
529a625c39 Remove "Default" devices from the PortaudioBackend
These are not really necessary now that input and output devices can be
selected separately.
2015-08-05 23:37:50 +10:00
66cafd10d5 Use ASIO specific device channel names for port properties/pretty names 2015-08-05 13:21:30 +10:00
61e851da08 Add code to use ASIO supplied min/max buffer sizes but don't use it
RME HDSP: min == max == preferred size with granularity == 0
Focusrite scarlett 2i2: min = current ASIO setting and max = max buffersize the
device supports with a granularity of 1 which means hundreds of entries in the
dropdown menu.
2015-08-05 13:21:30 +10:00
7295bb6454 Refactor methods in PortaudioBackend to get ASIO buffer sizes 2015-08-05 13:21:26 +10:00
6ca1c8164f Add ASIO specific code to query preferred buffer size for device 2015-08-05 10:52:03 +10:00
a9b6277d50 Dummy -> Audio system: "None"
check if gettext() static initialization works with all compilers.
2015-08-05 00:45:08 +02:00
53e969e925 pass complete blocksize range to LV2 plugin. fixes #6498
the buffersize may change anytime (split cycles),
also plugin analysis uses a 4096 sample window.
2015-08-05 00:02:55 +02:00
507006a9a6 sort the Stem Export route list 2015-08-04 15:33:44 -05:00
3cbd73de49 (hopefully) less ambiguous wording of processed stem exports. Update the info text when checkbox state is changed 2015-08-04 14:49:46 -05:00
2e8e23fac3 update routing wires display 2015-08-04 18:42:27 +02:00
ca2d536a30 self-test add missing newline 2015-08-04 18:25:10 +02:00
8671e109fc package portaudio w/WASAPI for Vista or later 2015-08-04 07:36:35 +02:00
c8b207d911 Proper solution to replace 9cabc1b hack.
Initialize uninitialized variable (m_started), remove cruft.
2015-08-04 01:03:57 +02:00
e057b873b5 amend e09c620; now with semicolon :) 2015-08-03 23:09:51 +02:00
e09c62052d fix backslashes in quotes (windows), fixes VST scan 2015-08-03 23:06:08 +02:00
847afa3f64 close file before unlink 2015-08-03 23:05:33 +02:00
2443fd1d79 VST cache file transition. 2015-08-03 23:03:48 +02:00
55cd20d862 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)
2015-08-03 22:57:10 +02:00
c6a02503b4 Windows XP compat 2015-08-03 22:53:53 +02:00
9cabc1bb9a 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
2015-08-04 00:15:59 +10:00
8132a31606 don't resize plugin-scan-report window, use sensitivity. 2015-08-03 15:54:55 +02:00
712b709e2a dump VST blacklist at end of scan 2015-08-03 15:45:31 +02:00
1fe6c19329 translatable VST error/info messages 2015-08-03 15:17:39 +02:00
30dc3b871c fix byte-order detection for gcc < v4.4. 2015-08-03 15:16:50 +02:00
469ead78f7 Fix typo in 8c45d4 preventing compile 2015-08-03 13:00:00 +10:00
f6fa4581b0 sha1: cleanup & separate unit test 2015-08-03 02:13:44 +02:00
8c45d446ad 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.
2015-08-03 00:25:19 +02:00
d9de55ae93 add sha1-hash calc. 2015-08-03 00:14:06 +02:00
d22768f96f quiet unzip 2015-08-03 00:09:48 +02:00
5122b7f8e1 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)
2015-07-31 13:48:25 +01:00
3015be533f Add some newly introduced sources to our MSVC project (portaudio_backend) 2015-07-31 13:45:18 +01:00
f3d3082872 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)
2015-07-31 13:43:22 +01:00
0428f2e4c9 Use BOOL (rather than WINBOOL) for compatibility with MSVC
(WINBOOL is MinGW specific)
2015-07-31 13:41:16 +01:00
f9f01104c6 add missing pthread.h includes 2015-07-31 02:28:12 +02:00
cfbd9dd6d4 Add functionality to show ASIO control panel 2015-07-31 09:59:54 +10:00
acd17a9b53 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
2015-07-31 09:59:54 +10:00
e9d00f5cfb Add MMCSS related code for raising thread priority on Windows 2015-07-31 09:59:54 +10:00
fe50d06876 Implement AudioBackend::driver_name() in PortaudioBackend
This was missing and is necessary for EngineControl dialog to work properly
2015-07-31 09:59:54 +10:00
6a0e46352c Add extra DEBUG_TRACE output to PortaudioBackend 2015-07-31 09:59:54 +10:00
e258c827e2 WinMME based midi input/output for portaudio backend
TODO:

Use MMCSS to elevate thread priorities
Enable/test and fix SYSEX related code
2015-07-31 09:59:54 +10:00
b12f865a4a 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
2015-07-31 09:59:54 +10:00
6b7875de1e Support selecting separate input and output devices in portaudio backend 2015-07-31 09:59:54 +10:00
ff1d4d5c67 Refactor PortAudioIO::discover into three private methods 2015-07-31 09:59:54 +10:00
4e370feeb1 Set default input/output device based on selected host api rather than global default 2015-07-31 09:59:54 +10:00
e2001ac4f3 Fix crash when unable to open portaudio stream
Calling Pa_Terminate after failing to open stream causes an assertion
2015-07-31 09:59:54 +10:00