summaryrefslogtreecommitdiff
path: root/src/Partition.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-17 23:18:51 +0100
committerMax Kellermann <max@musicpd.org>2017-02-17 23:18:51 +0100
commitc335f18be7e48ded9726d5bb8ccaa527fdd6d41e (patch)
treec9c3680404a733b3aa0bf904e375f772257f6eac /src/Partition.cxx
parent7dc3e73782266f0c51dc89ac9ba9077a51f8f765 (diff)
Partition: add "name" attribute
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r--src/Partition.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx
index 59754d2fb..12137b6bc 100644
--- a/src/Partition.cxx
+++ b/src/Partition.cxx
@@ -25,12 +25,14 @@
#include "IdleFlags.hxx"
Partition::Partition(Instance &_instance,
+ const char *_name,
unsigned max_length,
unsigned buffer_chunks,
unsigned buffered_before_play,
AudioFormat configured_audio_format,
const ReplayGainConfig &replay_gain_config)
:instance(_instance),
+ name(_name),
global_events(instance.event_loop, BIND_THIS_METHOD(OnGlobalEvent)),
playlist(max_length, *this),
outputs(*this),