summaryrefslogtreecommitdiff
path: root/pjmedia/build/os-auto.mak.in
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-07-28 23:40:58 +0000
committerBenny Prijono <bennylp@teluu.com>2008-07-28 23:40:58 +0000
commitb2019f321854e3e9a3a810e2420a1979fce7de7c (patch)
treea818779720ec0573aeae45c640ee1216c451f53f /pjmedia/build/os-auto.mak.in
parentacdf2f35a1555531f855e01801ce420416a87725 (diff)
Ticket #463: Configuration option to have external sound device implementation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2182 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/build/os-auto.mak.in')
-rw-r--r--pjmedia/build/os-auto.mak.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in
index ce823913..656e3d58 100644
--- a/pjmedia/build/os-auto.mak.in
+++ b/pjmedia/build/os-auto.mak.in
@@ -11,6 +11,7 @@ export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@
# - pa_win32: PortAudio on Win32 (WMME)
# - ds: Win32 DirectSound (dsound.c)
# - null: Null sound device (nullsound.c)
+# - external: Link with no sounddev (app will provide)
AC_PJMEDIA_SND=@ac_pjmedia_snd@
# For Unix, specify if ALSA should be supported
@@ -90,11 +91,19 @@ export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_WIN32_DIRECT_SOUND
endif
#
-# Last resort, null sound device
+# Null sound device
#
ifeq ($(AC_PJMEDIA_SND),null)
export SOUND_OBJS = nullsound.o
export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND
endif
+#
+# External sound device
+#
+ifeq ($(AC_PJMEDIA_SND),external)
+export SOUND_OBJS =
+export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_EXTERNAL
+endif
+