port: remove unused code

This commit is contained in:
Wim Taymans 2019-03-12 12:14:52 +01:00
parent 776ed79b86
commit c6cb2ea61b
2 changed files with 1 additions and 15 deletions

@ -1 +1 @@
Subproject commit 3eb1a09cd2dc638fd0e8a838083800d85d68ad64 Subproject commit cb7b25277b866ca1de6b2dd2886f1cef9563b562

View file

@ -135,19 +135,6 @@ static int schedule_mix_input(struct spa_node *data)
return SPA_STATUS_HAVE_BUFFER | SPA_STATUS_NEED_BUFFER; return SPA_STATUS_HAVE_BUFFER | SPA_STATUS_NEED_BUFFER;
} }
static int schedule_mix_port_set_param(struct spa_node *data,
enum spa_direction direction, uint32_t port_id,
uint32_t id, uint32_t flags,
const struct spa_pod *param)
{
switch (id) {
case SPA_PARAM_Format:
pw_log_debug("port %d:%d: set format", direction, port_id);
break;
}
return 0;
}
static int schedule_mix_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id) static int schedule_mix_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id)
{ {
struct impl *impl = SPA_CONTAINER_OF(data, struct impl, mix_node); struct impl *impl = SPA_CONTAINER_OF(data, struct impl, mix_node);
@ -165,7 +152,6 @@ static const struct spa_node schedule_mix_node = {
SPA_VERSION_NODE, SPA_VERSION_NODE,
NULL, NULL,
.process = schedule_mix_input, .process = schedule_mix_input,
.port_set_param = schedule_mix_port_set_param,
.port_reuse_buffer = schedule_mix_reuse_buffer, .port_reuse_buffer = schedule_mix_reuse_buffer,
}; };