deployment of Linux program on Windows that needs audio recording

Solution 1:

I resolved the problem...

1- For PULSE_SERVER, export the ip of your computer not 127.0.0.1.

2- Set the variable record to 1 instead of 0 in module-waveout.