ardour.git
8 years agofix unbelievable typo that broke solo propagation
Paul Davis [Mon, 10 Aug 2015 22:37:07 +0000 (18:37 -0400)]
fix unbelievable typo that broke solo propagation

8 years agoconvert Route::_solo_isolated from counter to a boolean.
Paul Davis [Mon, 10 Aug 2015 22:14:08 +0000 (18:14 -0400)]
convert Route::_solo_isolated from counter to a boolean.

This correctly manages the semantics - the counting part is only intended to cover
upstream/downstream effects, not "am i solo-isolated" (similar to self-soloed)

8 years agofix video-metadata for windows.
Robin Gareus [Mon, 10 Aug 2015 20:47:32 +0000 (22:47 +0200)]
fix video-metadata for windows.

8 years agoRevert "Disable video-export metadata on windows (for now)"
Robin Gareus [Mon, 10 Aug 2015 20:02:01 +0000 (22:02 +0200)]
Revert "Disable video-export metadata on windows (for now)"

This reverts commit 54ab3fb37e15f94fcc611f58f1af3df2b3b62c05.

8 years agoOops - forgot I'd need to add an entry to 'ptformat/wscript'
John Emmas [Mon, 10 Aug 2015 17:16:33 +0000 (18:16 +0100)]
Oops - forgot I'd need to add an entry to 'ptformat/wscript'

8 years agoback to the future
Robin Gareus [Mon, 10 Aug 2015 17:15:33 +0000 (19:15 +0200)]
back to the future

8 years agofix typo in deployment script
Robin Gareus [Mon, 10 Aug 2015 16:56:13 +0000 (18:56 +0200)]
fix typo in deployment script

8 years agocreate file_list.txt after adding the plugins.
Robin Gareus [Mon, 10 Aug 2015 16:55:51 +0000 (18:55 +0200)]
create file_list.txt after adding the plugins.

8 years agoHmmm... not sure why it didn't add my new files. Trying again.
John Emmas [Mon, 10 Aug 2015 16:18:13 +0000 (17:18 +0100)]
Hmmm... not sure why it didn't add my new files. Trying again.

8 years agoAdd support for building the new 'ptformat' library with MSVC
John Emmas [Mon, 10 Aug 2015 16:15:53 +0000 (17:15 +0100)]
Add support for building the new 'ptformat' library with MSVC

8 years agoMerge branch 'pt5-fix' of https://github.com/zamaudio/ardour
Robin Gareus [Mon, 10 Aug 2015 03:23:32 +0000 (05:23 +0200)]
Merge branch 'pt5-fix' of https://github.com/zamaudio/ardour

8 years agoMerge branch 'ovenwerks-master'
Paul Davis [Mon, 10 Aug 2015 02:28:00 +0000 (22:28 -0400)]
Merge branch 'ovenwerks-master'

8 years agoMake MCP MasterPosition match MIDI port number.
Len Ovens [Thu, 6 Aug 2015 05:02:27 +0000 (22:02 -0700)]
Make MCP MasterPosition match MIDI port number.

8 years agoRemove printf
Damien Zammit [Mon, 10 Aug 2015 02:25:03 +0000 (12:25 +1000)]
Remove printf

8 years agoDisable video-export metadata on windows (for now)
Robin Gareus [Sun, 9 Aug 2015 22:35:24 +0000 (00:35 +0200)]
Disable video-export metadata on windows (for now)

Quote escaping metadata currently breaks export.

8 years agofix a -Wparentheses
Robin Gareus [Sun, 9 Aug 2015 16:03:41 +0000 (18:03 +0200)]
fix a -Wparentheses

8 years agoMake sure that the ostream operator << (for class ChanCount) gets correctly exported...
John Emmas [Sun, 9 Aug 2015 14:32:52 +0000 (15:32 +0100)]
Make sure that the ostream operator << (for class ChanCount) gets correctly exported from libardour

8 years agoFix to PT5 format, (stereo tracks still not fully supported)
Damien Zammit [Sun, 9 Aug 2015 11:53:15 +0000 (21:53 +1000)]
Fix to PT5 format, (stereo tracks still not fully supported)

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoMSVC doesn't define __LITTLE_ENDIAN__
John Emmas [Sun, 9 Aug 2015 11:50:04 +0000 (12:50 +0100)]
MSVC doesn't define __LITTLE_ENDIAN__

8 years agoAdd a newly introduced source file to our MSVC project (libardour)
John Emmas [Sun, 9 Aug 2015 11:46:22 +0000 (12:46 +0100)]
Add a newly introduced source file to our MSVC project (libardour)

8 years agoAdd a newly introduced #define to our MSVC build project (portaudio backend)
John Emmas [Sun, 9 Aug 2015 11:44:31 +0000 (12:44 +0100)]
Add a newly introduced #define to our MSVC build project (portaudio backend)

8 years agohandle some wire edge-cases & explanation
Robin Gareus [Sun, 9 Aug 2015 06:32:17 +0000 (08:32 +0200)]
handle some wire edge-cases & explanation

8 years agoremember actual processor configuration
Robin Gareus [Sun, 9 Aug 2015 04:55:55 +0000 (06:55 +0200)]
remember actual processor configuration

Prepare for proper processor-box wire-display:
Don't replicate connection-logic in the GUI, allow to query the
actual configured configuration (which may differ from the processor
i/o-streams)

8 years agoremove bit-suffix (no longer needed since df498c8)
Robin Gareus [Sat, 8 Aug 2015 22:41:00 +0000 (00:41 +0200)]
remove bit-suffix (no longer needed since df498c8)

8 years agoMerge branch 'pt-5-7-x' of https://github.com/zamaudio/ardour
Robin Gareus [Sat, 8 Aug 2015 15:49:05 +0000 (17:49 +0200)]
Merge branch 'pt-5-7-x' of https://github.com/zamaudio/ardour

8 years agoupdate summary when re-ordering tracks - fixes #6502
Robin Gareus [Sat, 8 Aug 2015 13:58:44 +0000 (15:58 +0200)]
update summary when re-ordering tracks - fixes #6502

8 years agoprepare 2d-panner theme
Robin Gareus [Sat, 8 Aug 2015 15:33:18 +0000 (17:33 +0200)]
prepare 2d-panner theme

8 years agoFix more warnings
Damien Zammit [Sat, 8 Aug 2015 15:42:22 +0000 (01:42 +1000)]
Fix more warnings

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoAdded pt5 pt7 ptx initial format support
Damien Zammit [Sat, 8 Aug 2015 05:00:11 +0000 (15:00 +1000)]
Added pt5 pt7 ptx initial format support

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoamend 0e3991e (can_support.. AND configure..)
Robin Gareus [Sat, 8 Aug 2015 00:08:27 +0000 (02:08 +0200)]
amend 0e3991e (can_support.. AND configure..)

8 years agoAU: discard relationship with master-bus channel count.
Robin Gareus [Fri, 7 Aug 2015 23:43:57 +0000 (01:43 +0200)]
AU: discard relationship with master-bus channel count.

8 years agoAU: fix debug output
Robin Gareus [Fri, 7 Aug 2015 23:41:44 +0000 (01:41 +0200)]
AU: fix debug output

8 years agoremove more cruft (dead assignments)
Robin Gareus [Fri, 7 Aug 2015 19:13:17 +0000 (21:13 +0200)]
remove more cruft (dead assignments)

8 years agoremove cruft
Robin Gareus [Fri, 7 Aug 2015 19:10:47 +0000 (21:10 +0200)]
remove cruft

8 years agogive copy_vector() another chance.
Robin Gareus [Fri, 7 Aug 2015 19:00:35 +0000 (21:00 +0200)]
give copy_vector() another chance.

last arguments in nsamples, not bytes

8 years agoVST use scratch buffers for processing.
Robin Gareus [Fri, 7 Aug 2015 18:10:15 +0000 (20:10 +0200)]
VST use scratch buffers for processing.

8 years agoonly bundle libstdc++ with OSX/PPC
Robin Gareus [Fri, 7 Aug 2015 17:30:07 +0000 (19:30 +0200)]
only bundle libstdc++ with OSX/PPC

8 years agoDon't call AudioBackend::enumerate_drivers for Backend states without driver selection
Tim Mayberry [Fri, 7 Aug 2015 11:29:18 +0000 (21:29 +1000)]
Don't call AudioBackend::enumerate_drivers for Backend states without driver selection

AudioBackend::enumerate_drivers is not supposed to be called for backends that
don't support driver selection. The wavesaudio backend asserts if the method is
called.

8 years agofix VST plugin crash (from 35a9c63)
Robin Gareus [Fri, 7 Aug 2015 01:07:50 +0000 (03:07 +0200)]
fix VST plugin crash (from 35a9c63)

depending on offset, the audio-buffer may not be
memory aligned, use memcpy() not SSE copy_vector.

8 years agoSet active text in buffer_size combo in EngineControl dialog
Tim Mayberry [Thu, 6 Aug 2015 14:15:49 +0000 (00:15 +1000)]
Set active text in buffer_size combo in EngineControl dialog

Fixes issue with empty buffer size combo when switching to the PA ASIO driver

8 years agoSet the default host api in PortaudioBackend when initializing portaudio
Tim Mayberry [Thu, 6 Aug 2015 12:22:18 +0000 (22:22 +1000)]
Set the default host api in PortaudioBackend when initializing portaudio

Not setting a default driver causes issues with the EngineControl dialog

8 years agoFixed pt import start offsets and samplerate mismatch offsets
Damien Zammit [Thu, 6 Aug 2015 07:29:37 +0000 (17:29 +1000)]
Fixed pt import start offsets and samplerate mismatch offsets

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agofix ptf library deplyoment
Robin Gareus [Wed, 5 Aug 2015 23:02:13 +0000 (01:02 +0200)]
fix ptf library deplyoment

8 years agoprepare for the future
Robin Gareus [Wed, 5 Aug 2015 22:50:54 +0000 (00:50 +0200)]
prepare for the future

8 years agoAdded PT .ptf session audio import functionality
Damien Zammit [Sat, 1 Aug 2015 03:41:26 +0000 (13:41 +1000)]
Added PT .ptf session audio import functionality

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agorework VST processing/buffering (no more alloca).
Robin Gareus [Wed, 5 Aug 2015 21:24:52 +0000 (23:24 +0200)]
rework VST processing/buffering (no more alloca).

TODO: check Bufferset/VSTBuffer, eventually remove
the VST_IN_PLACE ifdef’s

8 years agoVST replaceProcessing () != in-place processing.
Robin Gareus [Wed, 5 Aug 2015 20:14:57 +0000 (22:14 +0200)]
VST replaceProcessing () != in-place processing.

8 years agoupdate unit-tests (new Dummy backend name since a9b6277)
Robin Gareus [Wed, 5 Aug 2015 18:24:57 +0000 (20:24 +0200)]
update unit-tests (new Dummy backend name since a9b6277)

8 years agoadjust click box size - fixes #6499
Robin Gareus [Wed, 5 Aug 2015 17:51:58 +0000 (19:51 +0200)]
adjust click box size - fixes #6499

8 years agoadd synth when drag/drop importing .mid - fixes #6474
Robin Gareus [Wed, 5 Aug 2015 15:53:03 +0000 (17:53 +0200)]
add synth when drag/drop importing .mid - fixes #6474

8 years agoRemove "Default" devices from the PortaudioBackend
Tim Mayberry [Wed, 5 Aug 2015 13:37:20 +0000 (23:37 +1000)]
Remove "Default" devices from the PortaudioBackend

These are not really necessary now that input and output devices can be
selected separately.

8 years agoUse ASIO specific device channel names for port properties/pretty names
Tim Mayberry [Tue, 4 Aug 2015 05:29:03 +0000 (15:29 +1000)]
Use ASIO specific device channel names for port properties/pretty names

8 years agoAdd code to use ASIO supplied min/max buffer sizes but don't use it
Tim Mayberry [Tue, 4 Aug 2015 03:36:29 +0000 (13:36 +1000)]
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.

8 years agoRefactor methods in PortaudioBackend to get ASIO buffer sizes
Tim Mayberry [Tue, 4 Aug 2015 02:25:46 +0000 (12:25 +1000)]
Refactor methods in PortaudioBackend to get ASIO buffer sizes

8 years agoAdd ASIO specific code to query preferred buffer size for device
Tim Mayberry [Tue, 4 Aug 2015 02:02:06 +0000 (12:02 +1000)]
Add ASIO specific code to query preferred buffer size for device

8 years agoDummy -> Audio system: "None"
Robin Gareus [Tue, 4 Aug 2015 22:41:57 +0000 (00:41 +0200)]
Dummy -> Audio system: "None"

check if gettext() static initialization works with all compilers.

8 years agopass complete blocksize range to LV2 plugin. fixes #6498
Robin Gareus [Tue, 4 Aug 2015 22:02:31 +0000 (00:02 +0200)]
pass complete blocksize range to LV2 plugin. fixes #6498

the buffersize may change anytime (split cycles),
also plugin analysis uses a 4096 sample window.

8 years agosort the Stem Export route list
Ben Loftis [Tue, 4 Aug 2015 20:33:44 +0000 (15:33 -0500)]
sort the Stem Export route list

8 years ago(hopefully) less ambiguous wording of processed stem exports. Update the info text...
Ben Loftis [Tue, 4 Aug 2015 19:49:27 +0000 (14:49 -0500)]
(hopefully) less ambiguous wording of processed stem exports.  Update the info text when checkbox state is changed

8 years agoupdate routing wires display
Robin Gareus [Tue, 4 Aug 2015 16:42:27 +0000 (18:42 +0200)]
update routing wires display

8 years agoself-test add missing newline
Robin Gareus [Tue, 4 Aug 2015 16:25:10 +0000 (18:25 +0200)]
self-test add missing newline

8 years agopackage portaudio w/WASAPI for Vista or later
Robin Gareus [Tue, 4 Aug 2015 05:36:35 +0000 (07:36 +0200)]
package portaudio w/WASAPI for Vista or later

8 years agoProper solution to replace 9cabc1b hack.
Robin Gareus [Mon, 3 Aug 2015 23:03:57 +0000 (01:03 +0200)]
Proper solution to replace 9cabc1b hack.

Initialize uninitialized variable (m_started), remove cruft.

8 years agoamend e09c620; now with semicolon :)
Robin Gareus [Mon, 3 Aug 2015 21:09:51 +0000 (23:09 +0200)]
amend e09c620; now with semicolon :)

8 years agofix backslashes in quotes (windows), fixes VST scan
Robin Gareus [Mon, 3 Aug 2015 21:06:08 +0000 (23:06 +0200)]
fix backslashes in quotes (windows), fixes VST scan

8 years agoclose file before unlink
Robin Gareus [Mon, 3 Aug 2015 21:05:33 +0000 (23:05 +0200)]
close file before unlink

8 years agoVST cache file transition.
Robin Gareus [Mon, 3 Aug 2015 21:03:48 +0000 (23:03 +0200)]
VST cache file transition.

8 years agodon’t set paClipOff, have portaudio clip to -1,+1
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)

8 years agoWindows XP compat
Robin Gareus [Mon, 3 Aug 2015 20:53:53 +0000 (22:53 +0200)]
Windows XP compat

8 years agoFix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds
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

8 years agodon't resize plugin-scan-report window, use sensitivity.
Robin Gareus [Mon, 3 Aug 2015 13:54:55 +0000 (15:54 +0200)]
don't resize plugin-scan-report window, use sensitivity.

8 years agodump VST blacklist at end of scan
Robin Gareus [Mon, 3 Aug 2015 13:45:31 +0000 (15:45 +0200)]
dump VST blacklist at end of scan

8 years agotranslatable VST error/info messages
Robin Gareus [Mon, 3 Aug 2015 13:17:25 +0000 (15:17 +0200)]
translatable VST error/info messages

8 years agofix byte-order detection for gcc < v4.4.
Robin Gareus [Mon, 3 Aug 2015 13:16:29 +0000 (15:16 +0200)]
fix byte-order detection for gcc < v4.4.

8 years agoFix typo in 8c45d4 preventing compile
Tim Mayberry [Mon, 3 Aug 2015 03:00:00 +0000 (13:00 +1000)]
Fix typo in 8c45d4 preventing compile

8 years agosha1: cleanup & separate unit test
Robin Gareus [Mon, 3 Aug 2015 00:13:35 +0000 (02:13 +0200)]
sha1: cleanup & separate unit test

8 years agoVST cache rework (part one)
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.

8 years agoadd sha1-hash calc.
Robin Gareus [Sun, 2 Aug 2015 22:13:46 +0000 (00:13 +0200)]
add sha1-hash calc.

8 years agoquiet unzip
Robin Gareus [Fri, 31 Jul 2015 11:18:32 +0000 (13:18 +0200)]
quiet unzip

8 years agoSpecifically #include <mmsystem.h> to get us TIMECAPS
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)

8 years agoAdd some newly introduced sources to our MSVC project (portaudio_backend)
John Emmas [Fri, 31 Jul 2015 12:45:18 +0000 (13:45 +0100)]
Add some newly introduced sources to our MSVC project (portaudio_backend)

8 years agoUse llabs (rather than std::abs) for compatibility with MSVC
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)

8 years agoUse BOOL (rather than WINBOOL) for compatibility with MSVC
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)

8 years agoadd missing pthread.h includes
Robin Gareus [Fri, 31 Jul 2015 00:28:12 +0000 (02:28 +0200)]
add missing pthread.h includes

8 years agoAdd functionality to show ASIO control panel
Tim Mayberry [Mon, 20 Jul 2015 11:44:46 +0000 (21:44 +1000)]
Add functionality to show ASIO control panel

8 years agoUse MMCSS to elevate the thread priorities for audio and MIDI threads
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

8 years agoAdd MMCSS related code for raising thread priority on Windows
Tim Mayberry [Wed, 29 Jul 2015 22:40:41 +0000 (08:40 +1000)]
Add MMCSS related code for raising thread priority on Windows

8 years agoImplement AudioBackend::driver_name() in PortaudioBackend
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

8 years agoAdd extra DEBUG_TRACE output to PortaudioBackend
Tim Mayberry [Thu, 30 Jul 2015 02:12:10 +0000 (12:12 +1000)]
Add extra DEBUG_TRACE output to PortaudioBackend

8 years agoWinMME based midi input/output for portaudio backend
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

8 years agoFix for PortAudioBackend::available_sample_rates
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

8 years agoSupport selecting separate input and output devices in portaudio backend
Tim Mayberry [Sat, 9 May 2015 01:42:46 +0000 (11:42 +1000)]
Support selecting separate input and output devices in portaudio backend

8 years agoRefactor PortAudioIO::discover into three private methods
Tim Mayberry [Mon, 4 May 2015 03:28:41 +0000 (13:28 +1000)]
Refactor PortAudioIO::discover into three private methods

8 years agoSet default input/output device based on selected host api rather than global default
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

8 years agoFix crash when unable to open portaudio stream
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

8 years agoAdd host api/driver selection to PortaudioBackend
Tim Mayberry [Wed, 1 Apr 2015 06:55:34 +0000 (16:55 +1000)]
Add host api/driver selection to PortaudioBackend

8 years agoFix state restoration in Engine dialog for Backends with driver selection
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.

8 years agomake it easier to get errors out of GTK + Glib
Robin Gareus [Thu, 30 Jul 2015 17:05:12 +0000 (19:05 +0200)]
make it easier to get errors out of GTK + Glib

8 years agoReplace "%z" modifier with glib macro for portability.
Robin Gareus [Thu, 30 Jul 2015 15:00:03 +0000 (17:00 +0200)]
Replace "%z" modifier with glib macro for portability.

8 years agofix file metadata tagging on windows.
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)