mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
rework: make client and server nodes
work on making nodes and ports on the client.
This commit is contained in:
parent
c67d3d7f04
commit
8407430891
34 changed files with 1500 additions and 3844 deletions
|
|
@ -28,7 +28,7 @@ typedef struct _PinosUploadNode PinosUploadNode;
|
|||
typedef struct _PinosUploadNodeClass PinosUploadNodeClass;
|
||||
typedef struct _PinosUploadNodePrivate PinosUploadNodePrivate;
|
||||
|
||||
#include <pinos/server/node.h>
|
||||
#include <pinos/server/server-node.h>
|
||||
|
||||
#define PINOS_TYPE_UPLOAD_NODE (pinos_upload_node_get_type ())
|
||||
#define PINOS_IS_UPLOAD_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PINOS_TYPE_UPLOAD_NODE))
|
||||
|
|
@ -45,7 +45,7 @@ typedef struct _PinosUploadNodePrivate PinosUploadNodePrivate;
|
|||
* Pinos client source object class.
|
||||
*/
|
||||
struct _PinosUploadNode {
|
||||
PinosNode object;
|
||||
PinosServerNode object;
|
||||
|
||||
PinosUploadNodePrivate *priv;
|
||||
};
|
||||
|
|
@ -56,20 +56,15 @@ struct _PinosUploadNode {
|
|||
* Pinos client source object class.
|
||||
*/
|
||||
struct _PinosUploadNodeClass {
|
||||
PinosNodeClass parent_class;
|
||||
PinosServerNodeClass parent_class;
|
||||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GType pinos_upload_node_get_type (void);
|
||||
|
||||
PinosNode * pinos_upload_node_new (PinosDaemon *daemon,
|
||||
PinosServerNode * pinos_upload_node_new (PinosDaemon *daemon,
|
||||
GBytes *possible_formats);
|
||||
|
||||
PinosChannel * pinos_upload_node_get_channel (PinosUploadNode *source,
|
||||
const gchar *client_path,
|
||||
GBytes *format_filter,
|
||||
PinosProperties *props,
|
||||
GError **error);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __PINOS_UPLOAD_NODE_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue