Commit graph

13697 commits

Author SHA1 Message Date
Robin Gareus
f7bc239132 provide plugins with all available buffers.
e.g. Audio in -> Midi out plugins (on an audio-track).
Midi-buffers do exist in the route but no corresponding
(physical) Input port-buffer exists and ardour crashed.

Now, the plugin itself still only accesses the mapped ports
(ChanMapping), but the mapped buffers are at most
"processor_max_streams" and at least the required
in+out buffers for the plugin.
2014-08-16 16:35:10 -04:00
John Emmas
cc944dd940 Add some more missing #includes 2014-08-16 16:34:48 -04:00
John Emmas
4c10034682 'atomic_ops' to use glib, rather than Waves's inbuilt atomic operations
Note that the following source files can be removed once we know this works on all platforms:-
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops.hpp
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops_gcc_x96.hpp
backends/wavesaudio/wavesapi/akupara/basics.hpp
backends/wavesaudio/wavesapi/akupara/compiletime_functions.hpp
2014-08-16 16:34:40 -04:00
John Emmas
e15ba3cd69 Add a return value to 'WCMRPortAudioDeviceManager::getDeviceAvailableSampleRates()'
(whilst technically, it doesn't report any encountered errors, it should nevertheless be returning some kind of error status)
2014-08-16 16:34:33 -04:00
John Emmas
6dd4d411b3 Add a couple of pthread helper macros
(to accommodate the fact that in ptw-win32, 'pthread_t' is subtlely different from its non-Windows counterparts)

Conflicts:
	libs/pbd/MSVCpbd/pbd.vcproj
2014-08-16 16:34:17 -04:00
John Emmas
cdf7ab795f Add 'waves_backend.vcproj' 2014-08-16 16:33:59 -04:00
John Emmas
fbc9d19cb2 Add the 'porttime' source file for Windows
Conflicts:
	libs/backends/wavesaudio/portmidi/src/porttime/ptwinmm.c
2014-08-16 16:33:49 -04:00
John Emmas
3dd30eef03 Add some type guards to 'wstdint.h' (in case we previously #included some headers which already define those types) 2014-08-16 16:33:27 -04:00
John Emmas
7d80809c3d Add some casting and namespace specifiers to keep MSVC happy 2014-08-16 16:33:22 -04:00
John Emmas
216d8d5a00 Add a couple of missing header files (needed for cin /cout etc) 2014-08-16 16:33:17 -04:00
John Emmas
816c296754 Add 'midi_scene_change' sources to ardour.vcproj
Conflicts:
	libs/ardour/MSVClibardour/ardour.vcproj
2014-08-16 16:33:07 -04:00
Paul Davis
fcb6ae9d82 a variety of changes to finalize (?) (MIDI) SceneChange functionality 2014-08-16 16:30:47 -04:00
Paul Davis
5a8335a1ce tell the SceneChanger to emit any relevant scene changes after a locate 2014-08-16 16:30:35 -04:00
Paul Davis
15de512e56 changing the start (position) of a marker with a scene change needs to update the SceneChanger 2014-08-16 16:30:28 -04:00
Adrian Knoth
1c832cdd89 Add ComboOption configuration for default-fade-shape
Let the user choose the preferred default fade shape in the editor
section of the preference menu.
2014-08-16 16:30:23 -04:00
Adrian Knoth
74634b5fcc Introduce global default-fade-shape configuration variable
Some users always want the same fade in/out style, e.g., constant power,
symmetric, fast etc.

To avoid having them change the fade style manually for each fade, use a
global configuration variable instead.
2014-08-16 16:30:14 -04:00
Adrian Knoth
12198e2d01 Drop unused set_default-fade(float, framecnt_t) prototype 2014-08-16 16:30:09 -04:00
Paul Davis
6a63ae3550 if using the audio/MIDI setup dialog because there are >1 backends, but the chosen backend is not under our control (i.e. JACK), remember to start it before returning from the dialog 2014-08-16 16:29:55 -04:00
Paul Davis
390c74457e fix crash in butler when destroying before thread is started 2014-08-16 16:29:50 -04:00
Paul Davis
8b2f9b8aa1 fix install path for ./waf install of waves backend
Conflicts:
	libs/backends/wavesaudio/wscript
2014-08-16 16:29:41 -04:00
Paul Davis
e39b66fb7c second part of windows/osx macro change - forgot *.cpp files 2014-08-16 16:29:13 -04:00
Paul Davis
12d5a33626 alter platform-dependent preprocessor macros to use the same names as the rest of the ardour codebase 2014-08-16 16:29:07 -04:00
Paul Davis
1c77df4d8f use AudioBackendInfo::already_configured() to correctly determine if backend requires setup
Fixes issues when using JACK backend in combination with others, that prevented connecting to an existing JACK server.
2014-08-16 16:17:58 -04:00
Paul Davis
b7d2338351 Add AudioBackend::info() method to retrieve AudioBackendInfo object
Goal is to be able to call AudioBackendInfo::already_configured() from the right place.

Conflicts:
	libs/backends/jack/jack_api.cc
	libs/backends/jack/jack_audiobackend.cc
	libs/backends/jack/jack_audiobackend.h
	libs/backends/wavesaudio/waves_audiobackend.cc
2014-08-16 16:17:48 -04:00
Paul Davis
38ec61e640 change location marker ruler text for get_trx() == true case 2014-08-16 16:16:13 -04:00
Paul Davis
a7f5d7a94d correctly set up ruler preferences for get_trx() == true case 2014-08-16 16:16:07 -04:00
Robin Gareus
13dcc6eea0 script to run ardour under callgrind 2014-08-16 16:15:25 -04:00
Paul Davis
df9ced5092 use per-channel signals to pick up scene changes, rather than global ones 2014-08-16 16:15:20 -04:00
Paul Davis
e03e2483a6 fix for storing 14 bit MIDI controller values 2014-08-16 16:15:15 -04:00
Paul Davis
2627328fd5 remove two more unnecessary instances of os.path.join in install path definitions
Conflicts:
	gtk2_ardour/wscript
2014-08-16 16:14:46 -04:00
Robin Gareus
e9caa2f81c DummyAudioBackend: fix freewheelin' typo 2014-08-16 16:11:24 -04:00
Robin Gareus
96be646607 DummyAudioBackend: implement /fake/ system ports 2014-08-16 16:10:50 -04:00
Robin Gareus
326729a78f DummyAudioBackend: NOOP, white-space, clarify variable name & casts 2014-08-16 16:10:45 -04:00
Paul Davis
e08ec37f69 "sequence regions" operation (remove space between selected regions) added, c/o Thomas Brand 2014-08-16 16:10:38 -04:00
Paul Davis
1c84289254 remove redundant os.path.join() calls when specifying install path as bld.env['LIBDIR'] 2014-08-16 16:10:30 -04:00
Paul Davis
937c0764be finish unfinished work at basing all install paths on the program name
Conflicts:
	libs/backends/jack/wscript
	libs/backends/wavesaudio/wscript
	libs/canvas/wscript
	wscript
2014-08-16 16:10:15 -04:00
Paul Davis
64a40a7bab add another missing file 2014-08-16 16:03:06 -04:00
Paul Davis
d17ff944d7 add missing file 2014-08-16 16:03:00 -04:00
Paul Davis
8c69e20acb do not package anything but explicitly listed backends for the bundle(s) (OS X) 2014-08-16 16:02:56 -04:00
Paul Davis
a571b1b4f8 do not package anything but explicitly listed backends for the bundle(s) (Linux) 2014-08-16 16:02:51 -04:00
Paul Davis
efdd80fd12 merge (squash) with scenechange topic branch to provide MIDI-driven scene change markers 2014-08-16 16:02:38 -04:00
Robin Gareus
587b6e21e7 DummyAudioBackend: port-engine, midi-buffers and the rest of it 2014-08-16 16:02:30 -04:00
Robin Gareus
e646eb998a DummyAudioBackend: basic process threads and support structure 2014-08-16 16:02:19 -04:00
Damien Zammit
f77d76ba9d Fixed problem where importing invalid midi files caused crash. 2014-08-16 16:02:14 -04:00
Robin Gareus
6b750f5e46 skeleton dummy audio-engine
Conflicts:
	libs/backends/wscript
2014-08-16 16:02:02 -04:00
Paul Davis
de28395eca add new SMFSource constructor to be used for existing-external files. Fixes #5919. Needs merging with CC 2014-08-16 16:01:06 -04:00
Carl Hetherington
88bb67e101 Fix some capitalisation in the preferences dialog. 2014-08-16 16:01:00 -04:00
Robin Gareus
95bd979c1b NOOP, no whitespace at EOF 2014-08-16 16:00:54 -04:00
Robin Gareus
ae2a7279d9 fix packing of LXVST UIs (minimum size, border) 2014-08-16 16:00:48 -04:00
Robin Gareus
90806e3448 try get_win_special_folder() for harvid & xjadeo (if registry fails) 2014-08-16 16:00:41 -04:00