X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpanners%2Fvbap%2Fvbap_speakers.h;h=b2f8b3c9dd13dd9f63770e8b296bedc71c5cb422;hb=453ed61c4a23551c7ffeee5d972b29d6d92c1591;hp=85cd75d0855ab0759d29e63c2c504740503fc8f4;hpb=96cc6c3410c927ca14f50a52487e304967efdbf3;p=ardour.git diff --git a/libs/panners/vbap/vbap_speakers.h b/libs/panners/vbap/vbap_speakers.h index 85cd75d085..b2f8b3c9dd 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 dvector; + VBAPSpeakers (boost::shared_ptr); + typedef std::vector 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); uint32_t n_speakers() const { return _speakers.size(); } + boost::shared_ptr parent() const { return _parent; } ~VBAPSpeakers (); private: - static const double MIN_VOL_P_SIDE_LGTH = 0.01; + static const double MIN_VOL_P_SIDE_LGTH; int _dimension; - boost::shared_ptr parent; + boost::shared_ptr _parent; std::vector _speakers; PBD::ScopedConnection speaker_connection;