pulse-server: fix compilation...

This commit is contained in:
Wim Taymans 2022-02-04 17:58:27 +01:00
parent 27a8c4ad13
commit 31159f418f
3 changed files with 1 additions and 3 deletions

View file

@ -270,7 +270,7 @@ static void manager_added(void *d, struct pw_manager_object *o)
pw_properties_set(props, PW_KEY_NODE_DONT_RECONNECT, "true"); pw_properties_set(props, PW_KEY_NODE_DONT_RECONNECT, "true");
pw_properties_set(props, PW_KEY_NODE_VIRTUAL, "true"); pw_properties_set(props, PW_KEY_NODE_VIRTUAL, "true");
pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true"); pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");
pw_properties_setf(props, "pulse.module.id", "%u", module->index); pw_properties_setf(props, "pulse.module.id", "%u", data->module->index);
cstream->data = data; cstream->data = data;
cstream->stream = pw_stream_new(data->core, NULL, props); cstream->stream = pw_stream_new(data->core, NULL, props);

View file

@ -67,7 +67,6 @@ static int module_roc_sink_load(struct client *client, struct module *module)
{ {
struct module_roc_sink_data *data = module->user_data; struct module_roc_sink_data *data = module->user_data;
FILE *f; FILE *f;
const char *str;
char *args; char *args;
size_t size; size_t size;

View file

@ -67,7 +67,6 @@ static int module_roc_source_load(struct client *client, struct module *module)
{ {
struct module_roc_source_data *data = module->user_data; struct module_roc_source_data *data = module->user_data;
FILE *f; FILE *f;
const char *str;
char *args; char *args;
size_t size; size_t size;