mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-device: fix cleanup
This commit is contained in:
parent
4754335d31
commit
b1ea91fa1d
2 changed files with 25 additions and 16 deletions
|
|
@ -44,16 +44,6 @@ struct device_data {
|
|||
struct spa_hook proxy_listener;
|
||||
};
|
||||
|
||||
#define pw_device_proxy_event(o,method,version,...) \
|
||||
({ \
|
||||
int _res = -ENOTSUP; \
|
||||
struct spa_interface *_p = o; \
|
||||
spa_interface_call_res(&_p->iface, \
|
||||
struct pw_core_proxy_methods, _res, \
|
||||
method, version, ##__VA_ARGS__); \
|
||||
_res; \
|
||||
})
|
||||
|
||||
static void device_event_info(void *_data, const struct spa_device_info *info)
|
||||
{
|
||||
struct device_data *data = _data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue