mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
Improve version handling
Add version numbers to protocol interfaces and implementation. Allow allocating user_data in proxy and resource Use separate methods to set implementation. Add protocol object to keep track of available protocols and interfaces. Add possibility to dynamically register interfaces.
This commit is contained in:
parent
c3b73ba47d
commit
ae708c14e7
29 changed files with 572 additions and 225 deletions
|
|
@ -103,6 +103,7 @@ extern "C" {
|
|||
#include <pipewire/client/map.h>
|
||||
#include <pipewire/client/loop.h>
|
||||
#include <pipewire/client/properties.h>
|
||||
#include <pipewire/client/protocol.h>
|
||||
#include <pipewire/client/subscribe.h>
|
||||
#include <pipewire/client/proxy.h>
|
||||
#include <pipewire/client/type.h>
|
||||
|
|
@ -159,6 +160,7 @@ struct pw_context {
|
|||
struct spa_list stream_list; /**< list of \ref pw_stream objects */
|
||||
struct spa_list proxy_list; /**< list of \ref pw_proxy objects */
|
||||
|
||||
struct pw_protocol *protocol; /**< the protocol in use */
|
||||
void *protocol_private; /**< private data for the protocol */
|
||||
|
||||
enum pw_context_state state; /**< context state */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue