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: https://svn.pjsip.org/repos/pjproject/trunk@2740 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in
index 603d497..5b80ea2 100644
--- a/pjmedia/build/os-auto.mak.in
+++ b/pjmedia/build/os-auto.mak.in
@@ -102,9 +102,7 @@
 # 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
 
 #