loop: add before_iterate signal

Add before_iterate signal and use it to flush data to clients.
This commit is contained in:
Wim Taymans 2017-03-14 16:13:29 +01:00
parent 9b93fd396a
commit 3e472c2dae
5 changed files with 60 additions and 19 deletions

View file

@ -40,6 +40,8 @@ struct _PinosLoop {
SpaLoopControl *control;
SpaLoopUtils *utils;
PINOS_SIGNAL (before_iterate, (PinosListener *listener,
PinosLoop *loop));
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
PinosLoop *loop));
};