This is my second version of module-tunnel-sink-new. In compare with module-tunnel it is missing the cookie module argument and does not yet support zero copy. Thanks to Tanu for his good review. Alexander Couzens (2): thread_mq: supports a mainloop as thread/consumer add module-tunnel-sink-new: experimental rewrite of module-tunnel using libpulse. Old module-tunnel shares duplicated functionality with libpulse because it is implementing pulse protocol again. It is also not as much tested as libpulse it and not refactored. src/Makefile.am | 6 + src/modules/module-tunnel-sink-new.c | 624 +++++++++++++++++++++++++++++++++++ src/pulsecore/thread-mq.c | 74 ++++- src/pulsecore/thread-mq.h | 7 +- 4 files changed, 698 insertions(+), 13 deletions(-) create mode 100644 src/modules/module-tunnel-sink-new.c -- 1.8.3.4