summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-09-17 14:49:21 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-09-17 14:49:21 +0000
commit85e32856f0f9b30fe2366587c9d7180f2bbbcdd2 (patch)
tree26d364b80904966249587180c241a377b681657a /pjmedia/include
parent328ca512b0b590367073350ff094419617482f4b (diff)
Ticket #630: Added Win32 MME sound device wrapper (thanks Seth Hinze for the patch).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2290 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index 1ba0f040..70354ee7 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -56,11 +56,14 @@
/** Constant for Win32 DirectSound sound backend. */
#define PJMEDIA_SOUND_WIN32_DIRECT_SOUND 2
+/** Constant for Win32 MME sound backend. */
+#define PJMEDIA_SOUND_WIN32_MME_SOUND 3
+
/** When this is set, pjmedia will not provide any sound device backend.
* Application will have to provide its own sound device backend
* and link the application with it.
*/
-#define PJMEDIA_SOUND_EXTERNAL 3
+#define PJMEDIA_SOUND_EXTERNAL 255
/**
@@ -70,6 +73,7 @@
#ifndef PJMEDIA_SOUND_IMPLEMENTATION
# if defined(PJ_WIN32) && PJ_WIN32!=0
/*# define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_WIN32_DIRECT_SOUND*/
+/*# define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_WIN32_MME_SOUND*/
# define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_PORTAUDIO_SOUND
# else
# define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_PORTAUDIO_SOUND