Commit bd40c864 authored by Max Kellermann's avatar Max Kellermann

Partition: use Instance::EmitIdle()

parent 7c53df2e
...@@ -22,7 +22,7 @@ ...@@ -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, ...@@ -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
......
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