diff options
Diffstat (limited to '')
-rw-r--r-- | src/Partition.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx index 512912f96..de1170557 100644 --- a/src/Partition.cxx +++ b/src/Partition.cxx @@ -23,6 +23,7 @@ #include "output/MultipleOutputs.hxx" #include "mixer/Volume.hxx" #include "Idle.hxx" +#include "GlobalEvents.hxx" #ifdef ENABLE_DATABASE @@ -51,6 +52,18 @@ Partition::SyncWithPlayer() } void +Partition::OnPlayerSync() +{ + GlobalEvents::Emit(GlobalEvents::PLAYLIST); +} + +void +Partition::OnPlayerTagModified() +{ + GlobalEvents::Emit(GlobalEvents::TAG); +} + +void Partition::OnMixerVolumeChanged(gcc_unused Mixer &mixer, gcc_unused int volume) { InvalidateHardwareVolume(); |