This fixes crashes when trying to use module-tunnel-sink-new together with module-rtp-recv or module-combine-sink. Changes in v2: improved documentation for pa_dynarray_get() and pa_dynarray_last(). Tanu Kaskinen (6): dynarray: Add pa_dynarray_last() dynarray: Add pa_dynarray_remove_by_index() dynarray: Add pa_dynarray_remove_by_data() dynarray: Add PA_DYNARRAY_FOREACH rtpoll: Implement pa_mainloop_api support tunnel-new: Replace pa_mainloop with pa_rtpoll src/modules/module-tunnel-sink-new.c | 35 ++- src/modules/module-tunnel-source-new.c | 35 ++- src/pulsecore/dynarray.c | 51 +++- src/pulsecore/dynarray.h | 25 +- src/pulsecore/rtpoll.c | 504 ++++++++++++++++++++++++++++++++- src/pulsecore/rtpoll.h | 4 + src/pulsecore/tokenizer.c | 3 - 7 files changed, 601 insertions(+), 56 deletions(-) -- 1.9.3