mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-23 06:59:58 -05:00
audiomixer: improve mixing
Remove PortIO flags, we can use the status Move PortIO to ports Move transport to client-node Improve scheduling
This commit is contained in:
parent
9bd92b781c
commit
4c7b56020a
14 changed files with 398 additions and 300 deletions
|
|
@ -480,8 +480,10 @@ do_send_buffer (GstPinosSink *pinossink)
|
|||
guint i;
|
||||
|
||||
buffer = g_queue_pop_head (&pinossink->queue);
|
||||
if (buffer == NULL)
|
||||
if (buffer == NULL) {
|
||||
GST_WARNING ("out of buffers");
|
||||
return;
|
||||
}
|
||||
|
||||
data = gst_mini_object_get_qdata (GST_MINI_OBJECT_CAST (buffer),
|
||||
process_mem_data_quark);
|
||||
|
|
@ -702,6 +704,7 @@ gst_pinos_sink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
|||
} else
|
||||
gst_buffer_ref (buffer);
|
||||
|
||||
GST_DEBUG ("push buffer in queue");
|
||||
g_queue_push_tail (&pinossink->queue, buffer);
|
||||
|
||||
// if (pinossink->need_ready)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue