Commit 710def8e authored by Max Kellermann's avatar Max Kellermann

Partition: un-inline the constructor

parent c0bda1b1
......@@ -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)
{
......
......@@ -48,10 +48,7 @@ struct Partition final : private PlayerListener, private MixerListener {
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) {}
unsigned buffered_before_play);
void EmitIdle(unsigned mask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment