Partition: use Instance::EmitIdle()
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
#include "Instance.hxx"
|
#include "Instance.hxx"
|
||||||
#include "DetachedSong.hxx"
|
#include "DetachedSong.hxx"
|
||||||
#include "mixer/Volume.hxx"
|
#include "mixer/Volume.hxx"
|
||||||
#include "Idle.hxx"
|
#include "IdleFlags.hxx"
|
||||||
|
|
||||||
Partition::Partition(Instance &_instance,
|
Partition::Partition(Instance &_instance,
|
||||||
unsigned max_length,
|
unsigned max_length,
|
||||||
@@ -39,7 +39,7 @@ Partition::Partition(Instance &_instance,
|
|||||||
void
|
void
|
||||||
Partition::EmitIdle(unsigned mask)
|
Partition::EmitIdle(unsigned mask)
|
||||||
{
|
{
|
||||||
idle_add(mask);
|
instance.EmitIdle(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_DATABASE
|
#ifdef ENABLE_DATABASE
|
||||||
|
Reference in New Issue
Block a user