Partition: use Instance::EmitIdle()

This commit is contained in:
Max Kellermann 2016-03-10 23:12:03 +01:00
parent 7c53df2ed1
commit bd40c8649c
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include "Instance.hxx"
#include "DetachedSong.hxx"
#include "mixer/Volume.hxx"
#include "Idle.hxx"
#include "IdleFlags.hxx"
Partition::Partition(Instance &_instance,
unsigned max_length,
@ -39,7 +39,7 @@ Partition::Partition(Instance &_instance,
void
Partition::EmitIdle(unsigned mask)
{
idle_add(mask);
instance.EmitIdle(mask);
}
#ifdef ENABLE_DATABASE