From c335f18be7e48ded9726d5bb8ccaa527fdd6d41e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Feb 2017 23:18:51 +0100 Subject: Partition: add "name" attribute --- src/Partition.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Partition.hxx') diff --git a/src/Partition.hxx b/src/Partition.hxx index b3c0bad72..4b571ee06 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -31,6 +31,8 @@ #include "Chrono.hxx" #include "Compiler.h" +#include + struct Instance; class MultipleOutputs; class SongLoader; @@ -45,6 +47,8 @@ struct Partition final : QueueListener, PlayerListener, MixerListener { Instance &instance; + const std::string name; + MaskMonitor global_events; struct playlist playlist; @@ -56,6 +60,7 @@ struct Partition final : QueueListener, PlayerListener, MixerListener { ReplayGainMode replay_gain_mode = ReplayGainMode::OFF; Partition(Instance &_instance, + const char *_name, unsigned max_length, unsigned buffer_chunks, unsigned buffered_before_play, -- cgit v1.2.3