How to setup developer environment to develop pulseaudio modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-10-25 at 10:40 +0530, namittal at codeaurora.org wrote:
> On 2017-10-24 18:38, Tanu Kaskinen wrote:
> > On Tue, 2017-10-24 at 16:05 +0300, Tanu Kaskinen wrote:
> > > On Mon, 2017-10-23 at 13:58 +0530, namittal at codeaurora.org wrote:
> > > > How will i Compile my module? #include will still locate distribution
> > > > pulseaudio.
> > > > How will i compile from git clone?
> > > 
> > > You need to add your module to the pulseaudio build system
> > > (src/Makefile.am). Here's an example of adding a new module:
> > > https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=b4d2443249c2ab31f58ed97a968db41c1fe61b49
> > 
> > Here are general instructions for compiling:
> > https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/PulseAudioFromGit/
> 
> Does his mean, i should not do
> 
> gcc -g -shared -o module-test.so module-test.c
> 
> rather modify makefile and build again?

Yes, you should modify src/Makefile.am and build your module together
with the rest of PulseAudio.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux