mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Beginnings of dbus based control
This commit is contained in:
parent
becae3e7fa
commit
ee202e13e9
19 changed files with 2086 additions and 28 deletions
1439
spa/plugins/remote/dbus-proxy.c
Normal file
1439
spa/plugins/remote/dbus-proxy.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,6 @@
|
|||
remote_sources = ['proxy.c', 'plugin.c']
|
||||
remote_sources = ['proxy.c',
|
||||
'dbus-proxy.c',
|
||||
'plugin.c']
|
||||
|
||||
remotelib = shared_library('spa-remote',
|
||||
remote_sources,
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include <spa/node.h>
|
||||
|
||||
extern const SpaHandleFactory spa_proxy_factory;
|
||||
extern const SpaHandleFactory spa_dbus_proxy_factory;
|
||||
|
||||
SpaResult
|
||||
spa_enum_handle_factory (const SpaHandleFactory **factory,
|
||||
|
|
@ -37,6 +38,9 @@ spa_enum_handle_factory (const SpaHandleFactory **factory,
|
|||
case 0:
|
||||
*factory = &spa_proxy_factory;
|
||||
break;
|
||||
case 1:
|
||||
*factory = &spa_dbus_proxy_factory;
|
||||
break;
|
||||
default:
|
||||
return SPA_RESULT_ENUM_END;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue