[pulseaudio-discuss] How to setup developer environment to develop pulseaudio modules?

namittal at codeaurora.org namittal at codeaurora.org
Tue Oct 17 11:03:54 UTC 2017


I using ubuntu 14.04 and pulseaudio 4.0. I am compiling very simple test 
module, module-test.c

#include <pulsecore/module.h>

int pa__init(pa_module* m){
   return 0;
}

when i try to compile it using

gcc -g -shared -o module-test.so module-test.c

i get this error

module-test.c:1:30: fatal error: pulsecore/module.h: No such file or 
directory
  #include <pulsecore/module.h>
                               ^
compilation terminated.

i looked in /usr/include and there is no folder name pulsecore. i tried 
installing development packages like libpulse-dev but that didn't solve 
this issue.


More information about the pulseaudio-discuss mailing list