Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1025 closed enhancement (fixed)

Support for using alternate third party PortAudio, Speex, and GSM libraries

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-1.6
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Add support for using different PortAudio, Speex, and/or GSM library installation than the one in the third_party directory. This is useful to make use of specific features in the system that have been configured in the installed library. For example, PortAudio library that comes with OpenBSD has support for sndio, which is not normally available/enabled in our PortAudio.

New ./aconfigure options are to be implemented:

--with-external-speex   Use external Speex development files, not the one in
                        "third_party" directory. When this option is set,
                        make sure that Speex is accessible to use (hint: use
                        CFLAGS and LDFLAGS env var to set the include/lib
                        paths)
--with-external-gsm     Use external GSM codec library, not the one in
                        "third_party" directory. When this option is set,
                        make sure that the GSM include/lib files are
                        accessible to use (hint: use CFLAGS and LDFLAGS env
                        var to set the include/lib paths)
--with-external-pa      Use external PortAudio development files, not the
                        one in "third_party" directory. When this option is
                        set, make sure that PortAudio is accessible to use
                        (hint: use CFLAGS and LDFLAGS env var to set the
                        include/lib paths)

Change History (6)

comment:1 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In r3058:

  • added --with-pa-path configure option
  • remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?)

comment:3 Changed 15 years ago by bennylp

  • Description modified (diff)
  • Summary changed from Support for using different PortAudio installation/path to Support for using alternate third party PortAudio, Speex, and GSM libraries

comment:4 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:5 Changed 15 years ago by bennylp

In r3062:

  • added support for external libspeex and libgsm
  • renamed --with-pa-path to --with-external-pa and changed the semantic a little bit; now we don't have to specify the path in the option, unless the library is not installed in the default location

comment:6 Changed 15 years ago by bennylp

  • Component changed from audiodev to pjmedia

In r3064:

  • fixed bug in r3062 above, which caused build error related to PortAudio in Mac OS X
Note: See TracTickets for help on using tickets.