diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 19:47:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 19:47:53 +0000 |
commit | 1b8e8303b25b6b013367741f2b47be3585b22cb3 (patch) | |
tree | 9a91c56bbf6ded80dd0bd8a04f00405f13178980 /libs/panners/vbap/vbap_speakers.h | |
parent | 96cc6c3410c927ca14f50a52487e304967efdbf3 (diff) |
draw speaker positions in 2d panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8891 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/panners/vbap/vbap_speakers.h')
-rw-r--r-- | libs/panners/vbap/vbap_speakers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/panners/vbap/vbap_speakers.h b/libs/panners/vbap/vbap_speakers.h index 85cd75d085..4c28fc6489 100644 --- a/libs/panners/vbap/vbap_speakers.h +++ b/libs/panners/vbap/vbap_speakers.h @@ -35,23 +35,24 @@ class Speakers; class VBAPSpeakers : public boost::noncopyable { public: - typedef std::vector<double> dvector; + VBAPSpeakers (boost::shared_ptr<Speakers>); + typedef std::vector<double> dvector; const dvector matrix (int tuple) const { return _matrices[tuple]; } int speaker_for_tuple (int tuple, int which) const { return _speaker_tuples[tuple][which]; } int n_tuples () const { return _matrices.size(); } int dimension() const { return _dimension; } - VBAPSpeakers (boost::shared_ptr<Speakers>); uint32_t n_speakers() const { return _speakers.size(); } + boost::shared_ptr<Speakers> parent() const { return _parent; } ~VBAPSpeakers (); private: static const double MIN_VOL_P_SIDE_LGTH = 0.01; int _dimension; - boost::shared_ptr<Speakers> parent; + boost::shared_ptr<Speakers> _parent; std::vector<Speaker> _speakers; PBD::ScopedConnection speaker_connection; |