Paul Davis [Tue, 14 Jan 2014 15:56:17 +0000 (10:56 -0500)]
merge (with conflict fixes) with master (even against rgareus' recommendation)
Paul Davis [Tue, 14 Jan 2014 14:33:02 +0000 (09:33 -0500)]
fix broken build after addition of normalizer.cc
Robin Gareus [Mon, 13 Jan 2014 22:22:02 +0000 (23:22 +0100)]
add preference -- link-send-and-route-panner default
Robin Gareus [Mon, 13 Jan 2014 22:21:30 +0000 (23:21 +0100)]
first stab at send+route panner link
Robin Gareus [Mon, 13 Jan 2014 18:16:10 +0000 (19:16 +0100)]
center VBAP UI crosshair
John Emmas [Mon, 13 Jan 2014 15:05:30 +0000 (15:05 +0000)]
Merge branch 'windows+cc' into cairocanvas
John Emmas [Mon, 13 Jan 2014 15:01:14 +0000 (15:01 +0000)]
'libs/audiographer' - Add a new source file (to accommodate the stuff removed from 'normalizer.h')
John Emmas [Mon, 13 Jan 2014 14:58:04 +0000 (14:58 +0000)]
'libs/audiographer' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)
Paul Davis [Mon, 13 Jan 2014 14:49:09 +0000 (09:49 -0500)]
clamp marker name text appropriately
Paul Davis [Mon, 13 Jan 2014 14:47:20 +0000 (09:47 -0500)]
fix botched merge of vbap changes
Robin Gareus [Sat, 11 Jan 2014 21:59:25 +0000 (22:59 +0100)]
VBAP backend re-work (part one):
* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)
Paul Davis [Mon, 13 Jan 2014 14:28:44 +0000 (09:28 -0500)]
define marker height in one location, to avoid duplicated magic numbers and allow easy changing
Paul Davis [Mon, 13 Jan 2014 14:28:06 +0000 (09:28 -0500)]
pixel-align canvas PolyItems with single-pixel outlines, for crispness
Robin Gareus [Mon, 13 Jan 2014 11:02:00 +0000 (12:02 +0100)]
delete 'big' 2d panner window, if panner changes to mono|stereo
Robin Gareus [Mon, 13 Jan 2014 10:49:09 +0000 (11:49 +0100)]
fix delivery: check if panshell exists on session-load
Robin Gareus [Mon, 13 Jan 2014 10:08:51 +0000 (11:08 +0100)]
ProcessorWindowProxy::processor_going_away takes care of deletion
Robin Gareus [Mon, 13 Jan 2014 10:08:37 +0000 (11:08 +0100)]
misc panning related UI tweaks:
* connect 2D panner "edit" to big window
* disconnect 2D-panner GUI when it's visible but panner-type changes
* ignore mixer-strip level-meter context-menu for Aux-sends
Robin Gareus [Mon, 13 Jan 2014 09:50:49 +0000 (10:50 +0100)]
independent panning for external sends
Robin Gareus [Mon, 13 Jan 2014 09:50:22 +0000 (10:50 +0100)]
fix output metering for Sends (Aux and External)
Robin Gareus [Mon, 13 Jan 2014 09:48:37 +0000 (10:48 +0100)]
add independent panner for internal (Aux) sends
Robin Gareus [Mon, 13 Jan 2014 09:48:23 +0000 (10:48 +0100)]
update internal-send port-count when target port-count changes
Robin Gareus [Mon, 13 Jan 2014 09:47:17 +0000 (10:47 +0100)]
ignore additional channels for AFL, PFL:
If the monitor-section has fewer-channels than the solo-listen point:
ignore additional channels.
Robin Gareus [Mon, 13 Jan 2014 09:46:11 +0000 (10:46 +0100)]
fix deadlock when removing monitoring-section
Robin Gareus [Sun, 12 Jan 2014 22:13:35 +0000 (23:13 +0100)]
fix processor -> reconfigure I/O || process concurrency
Add a ReaderLock to Route::process_output_buffers().
But process_output_buffers() is always called with processor-lock
held. To avoid deadlocks, a processor WriterLock must always imply
a process-lock (IFF reconfigure-I/O is called with _processor_lock).
Otherwise: e.g.
* add_processor() -> takes processor-lock. set up and activate processor.
* simult. audio-engine process, process-lock -> call process_output_buffers() -> wait for processor-lock
* add_processor() continues -> calls reconfigure-io -> take process-lock -> deadlock.
Robin Gareus [Sun, 12 Jan 2014 20:47:15 +0000 (21:47 +0100)]
take process lock when adding processors:
fixes possible crash if a processor modifies port-count
1. a processor is inserted and activated with processor-lock held
2. only after that the process_lock() is taken, configure_processors() is called which reconfigures-IO
BUT if the processor that is inserted changes the channel count AND audio is processed before IOs are reconfigured
-> possible crash (invalid port-buffers)
To reproduce: Bus1 (2in, 3out), Bus2 (2in, 3out)
- add a send from Bus1 to Bus2,
- then add a processor to Bus1, just before the send which
increases the channel-count to 4 -> occasional crash or assert.
Robin Gareus [Sun, 12 Jan 2014 20:41:02 +0000 (21:41 +0100)]
VBAP panner UI tweaks:
* fix mouse-grab of sentinel
* make GUI more hemisphere like (circles at latitude)
* change alpha slightly to show signal overlap
Robin Gareus [Sun, 12 Jan 2014 17:11:14 +0000 (18:11 +0100)]
aubio 3+4 compat
Robin Gareus [Sun, 12 Jan 2014 16:14:14 +0000 (17:14 +0100)]
cosmetic change - properly use lilv API
Robin Gareus [Sun, 12 Jan 2014 02:56:35 +0000 (03:56 +0100)]
don't display elevation if panner does not support it.
Robin Gareus [Sun, 12 Jan 2014 02:36:20 +0000 (03:36 +0100)]
swap channel VBAP channel
Robin Gareus [Sun, 12 Jan 2014 01:05:01 +0000 (02:05 +0100)]
credit where credit is due for speaker-config and VBAP fixes inspiration
Robin Gareus [Sat, 11 Jan 2014 23:57:27 +0000 (00:57 +0100)]
VBAP GUI object-grab & position
Robin Gareus [Sat, 11 Jan 2014 22:34:19 +0000 (23:34 +0100)]
hide speaker-config in menu (it's not implemented yet)
Robin Gareus [Sat, 11 Jan 2014 22:30:13 +0000 (23:30 +0100)]
add spinbox to control width in VBAP GUI,..
Robin Gareus [Sat, 11 Jan 2014 22:30:01 +0000 (23:30 +0100)]
VBAP rework (part III): fix position computation backend & GUI
Robin Gareus [Sat, 11 Jan 2014 22:29:46 +0000 (23:29 +0100)]
update default speaker position list
Robin Gareus [Sat, 11 Jan 2014 22:29:36 +0000 (23:29 +0100)]
VBAP GUI depends on signal-position (not parameter changes)
Robin Gareus [Sat, 11 Jan 2014 22:29:23 +0000 (23:29 +0100)]
VBAP backend re-work (part two): speaker positioning
* clean up source (whitespace)
* fix speaker 3x3 matrix iteration
* update math to go along with Ardour Cartesian -- fixes rounding errors
* fix division by zero in cross_prod()
* disable old debug output
(NB PBD::spherical_to_cartesian() returns
3.7494e-33, 6.12323e-17, 1 for azimuth 90 elevation 90 distance 1
while it should return
0.000000, 0.000000, 1 for azimuth 90 elevation 90 distance 1
IOW cos(90.0 * 2.0 * M_PI / 360.0) != 0
Cause unknown. This is currently worked around check in vec_length()
)
Robin Gareus [Sat, 11 Jan 2014 21:59:25 +0000 (22:59 +0100)]
VBAP backend re-work (part one):
* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)
John Emmas [Mon, 13 Jan 2014 14:27:56 +0000 (14:27 +0000)]
Add provision for building 'libtimecode' as a DLL (MSVC build)
John Emmas [Mon, 13 Jan 2014 14:26:19 +0000 (14:26 +0000)]
'libs/timecode' - Change some instances of 'rint' to be 'lrint' (better compatibility with MSVC)
Robin Gareus [Mon, 13 Jan 2014 14:13:37 +0000 (15:13 +0100)]
allow to custom select panner-type for each delivery.
John Emmas [Mon, 13 Jan 2014 12:47:21 +0000 (12:47 +0000)]
'libs/evoral' - and add 'Note.impl' to the project
John Emmas [Mon, 13 Jan 2014 12:16:02 +0000 (12:16 +0000)]
'libs/evoral' - #include 'Note.impl' when building with MSVC (this is necessary to ensure that Evoral::Note gets exported from the evoral DLL)
Robin Gareus [Mon, 13 Jan 2014 11:02:00 +0000 (12:02 +0100)]
delete 'big' 2d panner window, if panner changes to mono|stereo
John Emmas [Mon, 13 Jan 2014 10:49:18 +0000 (10:49 +0000)]
Merge branch 'windows+cc' into cairocanvas
Robin Gareus [Mon, 13 Jan 2014 10:49:09 +0000 (11:49 +0100)]
fix delivery: check if panshell exists on session-load
John Emmas [Mon, 13 Jan 2014 10:22:31 +0000 (10:22 +0000)]
Check in some minor modifications (to MSVC specific headers)
Robin Gareus [Mon, 13 Jan 2014 10:08:51 +0000 (11:08 +0100)]
ProcessorWindowProxy::processor_going_away takes care of deletion
Robin Gareus [Mon, 13 Jan 2014 10:08:37 +0000 (11:08 +0100)]
misc panning related UI tweaks:
* connect 2D panner "edit" to big window
* disconnect 2D-panner GUI when it's visible but panner-type changes
* ignore mixer-strip level-meter context-menu for Aux-sends
Robin Gareus [Mon, 13 Jan 2014 09:50:49 +0000 (10:50 +0100)]
independent panning for external sends
Robin Gareus [Mon, 13 Jan 2014 09:50:22 +0000 (10:50 +0100)]
fix output metering for Sends (Aux and External)
Robin Gareus [Mon, 13 Jan 2014 09:48:37 +0000 (10:48 +0100)]
add independent panner for internal (Aux) sends
Robin Gareus [Mon, 13 Jan 2014 09:48:23 +0000 (10:48 +0100)]
update internal-send port-count when target port-count changes
Robin Gareus [Mon, 13 Jan 2014 09:47:17 +0000 (10:47 +0100)]
ignore additional channels for AFL, PFL:
If the monitor-section has fewer-channels than the solo-listen point:
ignore additional channels.
Robin Gareus [Mon, 13 Jan 2014 09:46:11 +0000 (10:46 +0100)]
fix deadlock when removing monitoring-section
Paul Davis [Mon, 13 Jan 2014 01:23:45 +0000 (20:23 -0500)]
use LIBEVORAL_TEMPLATE_API with Evoral::Note
Paul Davis [Mon, 13 Jan 2014 01:01:12 +0000 (20:01 -0500)]
fix 64 bit template types
Paul Davis [Mon, 13 Jan 2014 01:00:55 +0000 (20:00 -0500)]
add new file (required by MSVC) to sources list
Paul Davis [Mon, 13 Jan 2014 01:00:26 +0000 (20:00 -0500)]
use LIBEVORAL_TEMPLATE_API
Also clean up unnecessary comments - git blame provides complete per-line history, no need to leave comments behind
Paul Davis [Mon, 13 Jan 2014 00:59:40 +0000 (19:59 -0500)]
add LIBEVORAL_TEMPLATE_API to deal with gcc/msvc difference of opinion
Robin Gareus [Sun, 12 Jan 2014 22:13:35 +0000 (23:13 +0100)]
fix processor -> reconfigure I/O || process concurrency
Add a ReaderLock to Route::process_output_buffers().
But process_output_buffers() is always called with processor-lock
held. To avoid deadlocks, a processor WriterLock must always imply
a process-lock (IFF reconfigure-I/O is called with _processor_lock).
Otherwise: e.g.
* add_processor() -> takes processor-lock. set up and activate processor.
* simult. audio-engine process, process-lock -> call process_output_buffers() -> wait for processor-lock
* add_processor() continues -> calls reconfigure-io -> take process-lock -> deadlock.
Robin Gareus [Sun, 12 Jan 2014 20:47:15 +0000 (21:47 +0100)]
take process lock when adding processors:
fixes possible crash if a processor modifies port-count
1. a processor is inserted and activated with processor-lock held
2. only after that the process_lock() is taken, configure_processors() is called which reconfigures-IO
BUT if the processor that is inserted changes the channel count AND audio is processed before IOs are reconfigured
-> possible crash (invalid port-buffers)
To reproduce: Bus1 (2in, 3out), Bus2 (2in, 3out)
- add a send from Bus1 to Bus2,
- then add a processor to Bus1, just before the send which
increases the channel-count to 4 -> occasional crash or assert.
Robin Gareus [Sun, 12 Jan 2014 20:41:02 +0000 (21:41 +0100)]
VBAP panner UI tweaks:
* fix mouse-grab of sentinel
* make GUI more hemisphere like (circles at latitude)
* change alpha slightly to show signal overlap
Paul Davis [Sun, 12 Jan 2014 20:39:58 +0000 (15:39 -0500)]
remove VAMP and Rubberband from source tree
Paul Davis [Sun, 12 Jan 2014 20:39:34 +0000 (15:39 -0500)]
add -fvisibility=default back to cxx/cflags when building QM DSP and VAMP plugins libs, because ... ugh
Paul Davis [Sun, 12 Jan 2014 20:38:49 +0000 (15:38 -0500)]
add export visibility macro
Paul Davis [Sun, 12 Jan 2014 20:38:29 +0000 (15:38 -0500)]
add new file
Paul Davis [Sun, 12 Jan 2014 19:50:23 +0000 (14:50 -0500)]
add missing export/visibility macro
Paul Davis [Sun, 12 Jan 2014 17:47:02 +0000 (12:47 -0500)]
remove taglib from source tree (require external provision)
Paul Davis [Sun, 12 Jan 2014 16:34:37 +0000 (11:34 -0500)]
move -fvisibility=hidden to the top of the source tree, and remove its internal use; use libtimecode as a shared lib again
Paul Davis [Sun, 12 Jan 2014 16:33:58 +0000 (11:33 -0500)]
add export/visibility macros to libtimecode and build as a shared library again
Paul Davis [Sun, 12 Jan 2014 16:33:16 +0000 (11:33 -0500)]
build libsmf as a static library, since it is private to evoral and would otherwise require export visibility control
This also removes -fvisibility=hidden, a change that is taking place across the source tree and will show up in a later commit elsewhere
John Emmas [Sun, 12 Jan 2014 17:45:28 +0000 (17:45 +0000)]
Merge branch 'windows+cc' into cairocanvas
John Emmas [Sun, 12 Jan 2014 17:40:25 +0000 (17:40 +0000)]
'libs/evoral' - Move a couple of 'IdentityConverter' functions into their own dedicated C++ source file. This allows them to be used correctly with __dllimport and __dllexport. Hopefully, this technique will also work for gcc / mingw
John Emmas [Sun, 12 Jan 2014 17:36:17 +0000 (17:36 +0000)]
'libs/evoral' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)
Robin Gareus [Sun, 12 Jan 2014 17:11:14 +0000 (18:11 +0100)]
aubio 3+4 compat
Robin Gareus [Sun, 12 Jan 2014 16:14:14 +0000 (17:14 +0100)]
cosmetic change - properly use lilv API
Robin Gareus [Sun, 12 Jan 2014 02:56:35 +0000 (03:56 +0100)]
don't display elevation if panner does not support it.
Robin Gareus [Sun, 12 Jan 2014 02:36:20 +0000 (03:36 +0100)]
swap channel VBAP channel
Robin Gareus [Sun, 12 Jan 2014 01:05:01 +0000 (02:05 +0100)]
credit where credit is due for speaker-config and VBAP fixes inspiration
Robin Gareus [Sat, 11 Jan 2014 23:57:27 +0000 (00:57 +0100)]
VBAP GUI object-grab & position
Robin Gareus [Sat, 11 Jan 2014 22:34:19 +0000 (23:34 +0100)]
hide speaker-config in menu (it's not implemented yet)
Robin Gareus [Sat, 11 Jan 2014 22:30:22 +0000 (23:30 +0100)]
redefine Pi :)
Robin Gareus [Sat, 11 Jan 2014 22:30:13 +0000 (23:30 +0100)]
add spinbox to control width in VBAP GUI,..
Robin Gareus [Sat, 11 Jan 2014 22:30:01 +0000 (23:30 +0100)]
VBAP rework (part III): fix position computation backend & GUI
Robin Gareus [Sat, 11 Jan 2014 22:29:46 +0000 (23:29 +0100)]
update default speaker position list
Robin Gareus [Sat, 11 Jan 2014 22:29:36 +0000 (23:29 +0100)]
VBAP GUI depends on signal-position (not parameter changes)
Robin Gareus [Sat, 11 Jan 2014 22:29:23 +0000 (23:29 +0100)]
VBAP backend re-work (part two): speaker positioning
* clean up source (whitespace)
* fix speaker 3x3 matrix iteration
* update math to go along with Ardour Cartesian -- fixes rounding errors
* fix division by zero in cross_prod()
* disable old debug output
(NB PBD::spherical_to_cartesian() returns
3.7494e-33, 6.12323e-17, 1 for azimuth 90 elevation 90 distance 1
while it should return
0.000000, 0.000000, 1 for azimuth 90 elevation 90 distance 1
IOW cos(90.0 * 2.0 * M_PI / 360.0) != 0
Cause unknown. This is currently worked around check in vec_length()
)
Robin Gareus [Sat, 11 Jan 2014 21:59:25 +0000 (22:59 +0100)]
VBAP backend re-work (part one):
* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)
Paul Davis [Sat, 11 Jan 2014 20:19:18 +0000 (15:19 -0500)]
fix merge with master
Paul Davis [Sat, 11 Jan 2014 20:02:10 +0000 (15:02 -0500)]
fix issues with isnan/isinf on OS X where <cmath> hides isnan/isinf and forces std::isnan/std::isinf
Paul Davis [Sat, 11 Jan 2014 20:01:29 +0000 (15:01 -0500)]
avoid apple gcc warning
David Robillard [Mon, 6 Jan 2014 22:02:55 +0000 (17:02 -0500)]
Support midnam controller value labels.
David Robillard [Mon, 6 Jan 2014 20:32:37 +0000 (15:32 -0500)]
Fix whitespace (no functional changes).
Paul Davis [Fri, 10 Jan 2014 22:11:10 +0000 (17:11 -0500)]
finished merge of cairocanvas with windows and windows+cc branches
Paul Davis [Fri, 10 Jan 2014 21:07:57 +0000 (16:07 -0500)]
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
Paul Davis [Fri, 10 Jan 2014 19:53:03 +0000 (14:53 -0500)]
fix merge errors with master
Paul Davis [Fri, 10 Jan 2014 19:36:05 +0000 (14:36 -0500)]
final (?) tweaks to rectangle rendering
Paul Davis [Fri, 10 Jan 2014 19:35:36 +0000 (14:35 -0500)]
clamp expose (queue_redraw()) requests to visible window area, some extra debugging details