From 36a62ae3403f7cfb02bd8dde43b6b2fa96fe867b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 14 May 2016 20:27:56 +0200 Subject: Make all components use the same Random instance and add seed method on DrumGizmo class. Added dgreftest application for doing reference midifile rendering tests. --- src/powerlist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/powerlist.h') diff --git a/src/powerlist.h b/src/powerlist.h index a3af475..53a42b8 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -34,7 +34,7 @@ class PowerList { public: - PowerList(); + PowerList(Random& rand); void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. @@ -49,7 +49,7 @@ private: float power; }; - Random rand; + Random& rand; std::vector samples; float power_max; -- cgit v1.2.3