mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
cleanups:
Keep lock while doing recycle_buffer Pass context to main loop Recycle WorkItems in a free list Push and pull from the node data loop Do async start/pause in alsa Add alsa fds right after open.
This commit is contained in:
parent
73e6272488
commit
4148e0ff78
12 changed files with 312 additions and 87 deletions
|
|
@ -354,7 +354,9 @@ buffer_recycle (GstMiniObject *obj)
|
|||
src = data->src;
|
||||
|
||||
GST_LOG_OBJECT (obj, "recycle buffer");
|
||||
pinos_thread_main_loop_lock (src->loop);
|
||||
pinos_stream_recycle_buffer (src->stream, data->id);
|
||||
pinos_thread_main_loop_unlock (src->loop);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue