summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia-audiodev/config.h
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2017-01-23 04:32:34 +0000
committerNanang Izzuddin <nanang@teluu.com>2017-01-23 04:32:34 +0000
commitf6d78bf855f2d564f9e383508908631a4668e2af (patch)
tree223bd69531113c5069679f9a6d482c03863284c9 /pjmedia/include/pjmedia-audiodev/config.h
parentdfe36134873cb77d5b9c2a999f3134eb79f6ca6e (diff)
Re #1900: Reintegrated works in UWP branch to trunk.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5539 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include/pjmedia-audiodev/config.h')
-rw-r--r--pjmedia/include/pjmedia-audiodev/config.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/pjmedia/include/pjmedia-audiodev/config.h b/pjmedia/include/pjmedia-audiodev/config.h
index 7a512fc8..f427a7d0 100644
--- a/pjmedia/include/pjmedia-audiodev/config.h
+++ b/pjmedia/include/pjmedia-audiodev/config.h
@@ -113,15 +113,32 @@ PJ_BEGIN_DECL
#endif
-/**
- * This setting controls whether WMME support should be included.
- */
+ /**
+ * This setting controls whether WMME support should be included.
+ */
#ifndef PJMEDIA_AUDIO_DEV_HAS_WMME
-# define PJMEDIA_AUDIO_DEV_HAS_WMME 1
+# ifdef PJ_WIN32_UWP
+# define PJMEDIA_AUDIO_DEV_HAS_WMME 0
+# else
+# define PJMEDIA_AUDIO_DEV_HAS_WMME 1
+# endif
#endif
-
-/**
+
+ /**
+ * This setting controls whether Windows Audio Session API (WASAPI)
+ * support should be included.
+ */
+#ifndef PJMEDIA_AUDIO_DEV_HAS_WASAPI
+# ifdef PJ_WIN32_UWP
+# define PJMEDIA_AUDIO_DEV_HAS_WASAPI 1
+# else
+# define PJMEDIA_AUDIO_DEV_HAS_WASAPI 0
+# endif
+#endif
+
+
+ /**
* This setting controls whether BDIMAD support should be included.
*/
#ifndef PJMEDIA_AUDIO_DEV_HAS_BDIMAD