summaryrefslogtreecommitdiff
path: root/src/Partition.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-03-05 19:05:04 +0100
committerMax Kellermann <max@duempel.org>2016-03-05 20:51:29 +0100
commit710def8e381b39313e48184f51e60d9a13113259 (patch)
tree13d102abb36c938a88cf4a4866a115ca96806443 /src/Partition.cxx
parentc0bda1b1032050ce7d3dfca6926957bc3c34ee5a (diff)
Partition: un-inline the constructor
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r--src/Partition.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx
index 115ffde0a..b08551a2a 100644
--- a/src/Partition.cxx
+++ b/src/Partition.cxx
@@ -25,6 +25,16 @@
#include "Idle.hxx"
#include "GlobalEvents.hxx"
+Partition::Partition(Instance &_instance,
+ unsigned max_length,
+ unsigned buffer_chunks,
+ unsigned buffered_before_play)
+ :instance(_instance), playlist(max_length),
+ outputs(*this),
+ pc(*this, outputs, buffer_chunks, buffered_before_play)
+{
+}
+
void
Partition::EmitIdle(unsigned mask)
{