Improve some debug

This commit is contained in:
Wim Taymans 2019-10-02 18:02:07 +02:00
parent 6e0ffb0c47
commit e04d58ee3a
12 changed files with 24 additions and 21 deletions

View file

@ -740,7 +740,7 @@ static int impl_node_process(void *object)
b = &port->buffers[io->buffer_id];
src = &b->outbuf->datas[0];
memcpy(dst, src->data, n_frames * port->stride);
spa_memcpy(dst, src->data, n_frames * port->stride);
io->status = SPA_STATUS_NEED_DATA;

View file

@ -758,7 +758,7 @@ static int impl_node_process(void *object)
src = jack_port_get_buffer(port->jack_port, n_frames);
d = &b->outbuf->datas[0];
memcpy(d->data, src, n_frames * port->stride);
spa_memcpy(d->data, src, n_frames * port->stride);
d->chunk->offset = 0;
d->chunk->size = n_frames * port->stride;
d->chunk->stride = port->stride;