pw_port_proxy -> pw_port

This commit is contained in:
Wim Taymans 2019-12-11 15:59:26 +01:00
parent beb3c69dfe
commit c23006fcdb
12 changed files with 95 additions and 98 deletions

View file

@ -531,8 +531,8 @@ static void port_event_info(void *object, const struct pw_port_info *info)
pw_proxy_sync(port->obj.proxy, 1);
}
static const struct pw_port_proxy_events port_events = {
PW_VERSION_PORT_PROXY_EVENTS,
static const struct pw_port_events port_events = {
PW_VERSION_PORT_EVENTS,
.info = port_event_info,
};
@ -573,7 +573,7 @@ static void port_destroy(void *object)
static const struct object_info port_info = {
.type = PW_TYPE_INTERFACE_Port,
.version = PW_VERSION_PORT_PROXY,
.version = PW_VERSION_PORT,
.events = &port_events,
.size = sizeof(struct sm_port),
.init = port_init,