summaryrefslogtreecommitdiff
path: root/pjmedia/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-06-03 12:29:35 +0000
committerBenny Prijono <bennylp@teluu.com>2009-06-03 12:29:35 +0000
commit29b4bf964f79df6749ddfca114085df520589b3d (patch)
treeb293efefeb96123e6622eac3ab755d0c94e7bb03 /pjmedia/build
parente624bbc74a4fe5f21f1f7175297056357cac8971 (diff)
Ticket #853: ./configure with --disable-sound argument does not work
- when --disable-sound is specified, no sound factory will be created - modified audiodev.c to not return error when there's no device found - compilation error in pa_dev.c when it's disabled and include path is not set git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2740 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/build')
-rw-r--r--pjmedia/build/os-auto.mak.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in
index 603d4971..5b80ea2d 100644
--- a/pjmedia/build/os-auto.mak.in
+++ b/pjmedia/build/os-auto.mak.in
@@ -102,9 +102,7 @@ endif
# Null sound device
#
ifeq ($(AC_PJMEDIA_SND),null)
-# ***** Error ******
-# This will not work either with the new Audiodev
-export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND
+export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
endif
#