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:
Wim Taymans 2017-04-12 10:40:17 +02:00
parent 9bd92b781c
commit 4c7b56020a
14 changed files with 398 additions and 300 deletions

View file

@ -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)