spa: add result type

We need this to know the type of result, especially when serializing.
This commit is contained in:
Wim Taymans 2019-05-28 13:59:48 +02:00
parent c767ce62c9
commit 857b2a0cfb
33 changed files with 110 additions and 73 deletions

View file

@ -85,7 +85,7 @@ struct pw_node_events {
enum pw_node_state state, const char *error);
/** a result was received */
void (*result) (void *data, int seq, int res, const void *result);
void (*result) (void *data, int seq, int res, uint32_t type, const void *result);
/** an event is emited */
void (*event) (void *data, const struct spa_event *event);