diff options
author | Robin Gareus <robin@gareus.org> | 2014-01-11 23:29:23 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-01-11 23:38:27 +0100 |
commit | d3e1d542803922250937be16b598f2c052948cba (patch) | |
tree | cc86916e5e1689e5e4339a9d0276c70c62478279 /gtk2_ardour/panner2d.h | |
parent | 80127f9ccade3292a22377173d44a72619497950 (diff) |
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()
)
Diffstat (limited to 'gtk2_ardour/panner2d.h')
0 files changed, 0 insertions, 0 deletions