Partition: un-inline the constructor
This commit is contained in:
@@ -25,6 +25,16 @@
|
|||||||
#include "Idle.hxx"
|
#include "Idle.hxx"
|
||||||
#include "GlobalEvents.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
|
void
|
||||||
Partition::EmitIdle(unsigned mask)
|
Partition::EmitIdle(unsigned mask)
|
||||||
{
|
{
|
||||||
|
@@ -48,10 +48,7 @@ struct Partition final : private PlayerListener, private MixerListener {
|
|||||||
Partition(Instance &_instance,
|
Partition(Instance &_instance,
|
||||||
unsigned max_length,
|
unsigned max_length,
|
||||||
unsigned buffer_chunks,
|
unsigned buffer_chunks,
|
||||||
unsigned buffered_before_play)
|
unsigned buffered_before_play);
|
||||||
:instance(_instance), playlist(max_length),
|
|
||||||
outputs(*this),
|
|
||||||
pc(*this, outputs, buffer_chunks, buffered_before_play) {}
|
|
||||||
|
|
||||||
void EmitIdle(unsigned mask);
|
void EmitIdle(unsigned mask);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user