#include <boost/utility.hpp>
+#include <memory>
#include <string>
#include <vector>
static void setup_cinema_sound_processors ();
static CinemaSoundProcessor const * from_id (std::string id);
static CinemaSoundProcessor const * from_index (int);
- static int as_index (CinemaSoundProcessor const *);
private:
/** id for our use */
float _below;
float _above;
- /** sll available cinema sound processors */
- static std::vector<CinemaSoundProcessor const *> _cinema_sound_processors;
+ /** all available cinema sound processors */
+ static std::vector<std::unique_ptr<const CinemaSoundProcessor>> _cinema_sound_processors;
};