> My question is: is it possible to create a virtual device in > Pulseaudio which has one input and one output and transfers stream > from its input to the output? I tried different solutions including > module-loopback (no success) and module-pipe-sink/source (gstreamer > wasn't able to stream through it due to very low speed as I guess) but > I have no success at all. Use module-virtual-sink, add your code for post-processing where indicated by the comments. It was written precisely for this type of use cases.