From 5a60fd7041fbc1f7b3eddd6eb4e5cca258c1aa27 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 15 Jun 2022 17:53:04 +0200 Subject: [PATCH] audioconvert2: remove unused monitor field --- spa/plugins/audioconvert/audioadapter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 8e5bd793e..5c2db07fa 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -595,7 +595,6 @@ static int impl_node_set_param(void *object, uint32_t id, uint32_t flags, enum spa_direction dir; enum spa_param_port_config_mode mode; struct spa_pod *format = NULL; - int monitor = false; if (this->started) { spa_log_error(this->log, "was started"); @@ -606,7 +605,6 @@ static int impl_node_set_param(void *object, uint32_t id, uint32_t flags, SPA_TYPE_OBJECT_ParamPortConfig, NULL, SPA_PARAM_PORT_CONFIG_direction, SPA_POD_Id(&dir), SPA_PARAM_PORT_CONFIG_mode, SPA_POD_Id(&mode), - SPA_PARAM_PORT_CONFIG_monitor, SPA_POD_OPT_Bool(&monitor), SPA_PARAM_PORT_CONFIG_format, SPA_POD_OPT_Pod(&format)) < 0) return -EINVAL;