rename core_proxy -> core

Rename core_proxy to core and move the introspect and interface
contents to core.h

In an effort to promote the proxy API.
This commit is contained in:
Wim Taymans 2019-12-11 07:46:59 +01:00
parent 8ea78c2e3f
commit ecc6b27cd7
54 changed files with 1068 additions and 1059 deletions

View file

@ -52,7 +52,7 @@ static const struct pw_proxy_events proxy_events = {
.destroy = device_proxy_destroy,
};
struct pw_proxy *pw_core_proxy_spa_device_export(struct pw_core_proxy *core_proxy,
struct pw_proxy *pw_core_spa_device_export(struct pw_core *core,
uint32_t type, struct pw_properties *props, void *object,
size_t user_data_size)
{
@ -61,7 +61,7 @@ struct pw_proxy *pw_core_proxy_spa_device_export(struct pw_core_proxy *core_prox
struct pw_proxy *proxy;
struct device_data *data;
proxy = pw_core_proxy_create_object(core_proxy,
proxy = pw_core_create_object(core,
"client-device",
SPA_TYPE_INTERFACE_Device,
SPA_VERSION_DEVICE,