`pw_stream_trigger_process()` does not cause `.process` callback to be called
I have a custom PipeWire audio sink that drives the graph via pw_stream_trigger_process()
. Occasionally the .process
callback does not get called and the graph hangs.
How can I determine the cause of this problem? Does PipeWire guarantee that each call to pw_stream_trigger_process()
will result in at least one call to .process
, or do I need to code my stream to handle no calls to .process
being made until pw_stream_trigger_process()
runs again? Or do I need to switch to a SPA plugin?