summaryrefslogtreecommitdiff
path: root/spa/plugins/audioconvert/merger.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-07-25 14:08:43 +0200
committerWim Taymans <wtaymans@redhat.com>2019-07-25 14:08:43 +0200
commitdeb6c52f76bf7598437ac69a8b8392adcb8ecf0d (patch)
tree80501caaab67ad2ea48f45eaa7cab208e966d960 /spa/plugins/audioconvert/merger.c
parent2f3351ef9b73c715406e4ec9601fe0e34f96f4c8 (diff)
node: remove port_alloc_buffers
Remove the now obsolete port_alloc_buffer, rework to use the port_use_buffers with the ALLOC flag.
Diffstat (limited to 'spa/plugins/audioconvert/merger.c')
-rw-r--r--spa/plugins/audioconvert/merger.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/spa/plugins/audioconvert/merger.c b/spa/plugins/audioconvert/merger.c
index 263649ca..89610335 100644
--- a/spa/plugins/audioconvert/merger.c
+++ b/spa/plugins/audioconvert/merger.c
@@ -799,18 +799,6 @@ impl_node_port_use_buffers(void *object,
}
static int
-impl_node_port_alloc_buffers(void *object,
- enum spa_direction direction,
- uint32_t port_id,
- struct spa_pod **params,
- uint32_t n_params,
- struct spa_buffer **buffers,
- uint32_t *n_buffers)
-{
- return -ENOTSUP;
-}
-
-static int
impl_node_port_set_io(void *object,
enum spa_direction direction, uint32_t port_id,
uint32_t id, void *data, size_t size)
@@ -1007,7 +995,6 @@ static const struct spa_node_methods impl_node = {
.port_enum_params = impl_node_port_enum_params,
.port_set_param = impl_node_port_set_param,
.port_use_buffers = impl_node_port_use_buffers,
- .port_alloc_buffers = impl_node_port_alloc_buffers,
.port_set_io = impl_node_port_set_io,
.port_reuse_buffer = impl_node_port_reuse_buffer,
.process = impl_node_process,