pulsesink: odd piece of code managing the stream offset
pulsesink.c
(at 64010bb1) contains the following in gst_pulsering_flush()
at lines 1790-1791:
pbuf->m_towrite = 0;
pbuf->m_offset += pbuf->m_towrite; /* keep track of current offset */
This is adding constant 0 to pbuf->m_offset
after writing pbuf->m_towrite
bytes to the stream at pbuf->m_offset
, so I am not sure if this is the intended behaviour - on the other hand, these lines have been there for 10+ years, so maybe it is correct.