mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
More hacking
Move array and map to pinos Move more things to spa lib ControlCmd -> Message Make pinos log, use for plugins as well work on ringbuffer in alsa and nodes work on making registry with all objects
This commit is contained in:
parent
a1c0bef2ed
commit
7e46f9e3ad
81 changed files with 1831 additions and 1030 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <spa/node.h>
|
||||
#include <spa/queue.h>
|
||||
#include <spa/audio/format.h>
|
||||
#include <lib/props.h>
|
||||
|
||||
#include "alsa-utils.h"
|
||||
|
||||
|
|
@ -583,7 +584,7 @@ spa_alsa_source_node_port_use_buffers (SpaNode *node,
|
|||
case SPA_DATA_TYPE_DMABUF:
|
||||
case SPA_DATA_TYPE_MEMPTR:
|
||||
if (buffers[i]->datas[0].data == NULL) {
|
||||
spa_log_error (this->log, "alsa-source: need mapped memory\n");
|
||||
spa_log_error (this->log, "alsa-source: need mapped memory");
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
|
@ -697,7 +698,7 @@ spa_alsa_source_node_port_pull_output (SpaNode *node,
|
|||
|
||||
info[i].buffer_id = b->outbuf->id;
|
||||
info[i].status = SPA_RESULT_OK;
|
||||
spa_log_debug (this->log, "pull buffer %u\n", b->outbuf->id);
|
||||
spa_log_debug (this->log, "pull buffer %u", b->outbuf->id);
|
||||
}
|
||||
if (have_error)
|
||||
return SPA_RESULT_ERROR;
|
||||
|
|
@ -727,7 +728,7 @@ spa_alsa_source_node_port_reuse_buffer (SpaNode *node,
|
|||
if (buffer_id >= this->n_buffers)
|
||||
return SPA_RESULT_INVALID_BUFFER_ID;
|
||||
|
||||
spa_log_debug (this->log, "recycle buffer %u\n", buffer_id);
|
||||
spa_log_debug (this->log, "recycle buffer %u", buffer_id);
|
||||
recycle_buffer (this, buffer_id);
|
||||
|
||||
return SPA_RESULT_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue