Hi, Trying to compile 2.3 with MMDevice support in WMME (wmme_dev.c) and there is a small issue with the preprocessor logic, at least on VS 2012. PJMEDIA_WMME_DEV_USE_MMDEVICE_API isn't bring properly expanded. I've attached a small patch. Thank you, Sean -------------- next part -------------- Index: pjmedia/src/pjmedia-audiodev/wmme_dev.c =================================================================== --- pjmedia/src/pjmedia-audiodev/wmme_dev.c (revision 4940) +++ pjmedia/src/pjmedia-audiodev/wmme_dev.c (working copy) @@ -39,8 +39,11 @@ #endif #ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API -# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API \ - (defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600)) +# if defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600) +# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 1 +# else +# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 0 +# endif #endif #if PJMEDIA_WMME_DEV_USE_MMDEVICE_API != 0