diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-17 23:18:51 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-17 23:18:51 +0100 |
commit | c335f18be7e48ded9726d5bb8ccaa527fdd6d41e (patch) | |
tree | c9c3680404a733b3aa0bf904e375f772257f6eac /src/Partition.hxx | |
parent | 7dc3e73782266f0c51dc89ac9ba9077a51f8f765 (diff) |
Partition: add "name" attribute
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r-- | src/Partition.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 <string> + 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, |