Partition: add method EmitIdle()
Prepare for moving idle events to class Partition. Right now, it's just a wrapper for idle_add().
This commit is contained in:
@@ -53,6 +53,8 @@ struct Partition final : private PlayerListener, private MixerListener {
|
||||
outputs(*this),
|
||||
pc(*this, outputs, buffer_chunks, buffered_before_play) {}
|
||||
|
||||
void EmitIdle(unsigned mask);
|
||||
|
||||
void ClearQueue() {
|
||||
playlist.Clear(pc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user