diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-19 00:58:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-19 00:58:57 +0000 |
commit | d8ec9bbea79bc9cefa3e042aae8fd585f35df92b (patch) | |
tree | 440585e51ca0bb5d311a7671b5a35346871878c3 /libs/ardour/ardour/panner.h | |
parent | e50bd9e6530d6c708a4b259de6ef19e0fc6b97c0 (diff) |
non-crashing (but also non-functional) integration of VBAP with panner "architecture"
git-svn-id: svn://localhost/ardour2/branches/3.0@8056 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/panner.h')
-rw-r--r-- | libs/ardour/ardour/panner.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index 087471032d..da68ed8578 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -203,13 +203,14 @@ class Panner : public SessionObject, public Automatable { public: struct Output { - float x; - float y; - pan_t current_pan; - pan_t desired_pan; - - Output (float xp, float yp) - : x (xp), y (yp), current_pan (0), desired_pan (0) {} + float x; + float y; + float z; + pan_t current_pan; + pan_t desired_pan; + + Output (float xp, float yp, float zp = 0.0) + : x (xp), y (yp), z (zp), current_pan (0), desired_pan (0) {} }; @@ -320,6 +321,8 @@ public: static float current_automation_version_number; + void setup_speakers (uint32_t nouts); + /* old school automation handling */ std::string automation_path; |