mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
pulse-server: remove some warnings
This commit is contained in:
parent
b13e9f7a8d
commit
2be49838d0
4 changed files with 1 additions and 6 deletions
|
|
@ -47,13 +47,10 @@ static const struct pw_impl_module_events module_events = {
|
||||||
|
|
||||||
static int module_echo_cancel_load(struct module *module)
|
static int module_echo_cancel_load(struct module *module)
|
||||||
{
|
{
|
||||||
struct pw_properties * const props = module->props;
|
|
||||||
struct module_echo_cancel_data *data = module->user_data;
|
struct module_echo_cancel_data *data = module->user_data;
|
||||||
const char *method;
|
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *args;
|
char *args;
|
||||||
size_t size;
|
size_t size;
|
||||||
uint32_t i;
|
|
||||||
|
|
||||||
if ((f = open_memstream(&args, &size)) == NULL)
|
if ((f = open_memstream(&args, &size)) == NULL)
|
||||||
return -errno;
|
return -errno;
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ static int module_loopback_load(struct module *module)
|
||||||
struct module_loopback_data *data = module->user_data;
|
struct module_loopback_data *data = module->user_data;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *args;
|
char *args;
|
||||||
size_t size, i;
|
size_t size;
|
||||||
|
|
||||||
pw_properties_setf(data->capture_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);
|
pw_properties_setf(data->capture_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);
|
||||||
pw_properties_setf(data->playback_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);
|
pw_properties_setf(data->playback_props, PW_KEY_NODE_GROUP, "loopback-%u", module->index);
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,6 @@ static int module_null_sink_prepare(struct module * const module)
|
||||||
struct pw_properties * const props = module->props;
|
struct pw_properties * const props = module->props;
|
||||||
const char *str;
|
const char *str;
|
||||||
struct spa_audio_info_raw info = { 0 };
|
struct spa_audio_info_raw info = { 0 };
|
||||||
uint32_t i;
|
|
||||||
|
|
||||||
PW_LOG_TOPIC_INIT(mod_topic);
|
PW_LOG_TOPIC_INIT(mod_topic);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ static int module_rtp_send_load(struct module *module)
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *args;
|
char *args;
|
||||||
size_t size;
|
size_t size;
|
||||||
uint32_t i;
|
|
||||||
|
|
||||||
pw_properties_setf(data->stream_props, "pulse.module.id",
|
pw_properties_setf(data->stream_props, "pulse.module.id",
|
||||||
"%u", module->index);
|
"%u", module->index);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue