Partition: un-inline the constructor
This commit is contained in:
parent
c0bda1b103
commit
710def8e38
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue