asyncq.c: q overrun, queuing locally up to Out of Memory
Hello,
in an embedded system we use pulseaudio and have now the case where I would say a sink is broken. This isn't nice but another topic. But as result the system crashes after a couple of time due to a OOM.
if I look in asyncq.c and function where the message is printed I can see "pa_asyncq_push" function which fails and lead to the sample queuing.
`void pa_asyncq_post(pa_asyncq*l, void *p) { ...
if (flush_postq(l, false))
if (pa_asyncq_push(l, p, false) >= 0)
return;
` my questions would be.
- is there a reason why the wait_op flag is hard coded to false, not configurable?
- why the samples will be queued? If I have a synchronous in/output clock the queue will never be decreased even if sink becomes ready or am I wrong?
thanks Tobias