- Timestamp:
- Mar 5, 2009 6:02:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/include/pjmedia/config.h
r2471 r2489 82 82 83 83 /** 84 * Setting PJMEDIA_AUDIO_API to this value will completely deprecate the use 85 * of old API, and inclusion of <pjmedia/sound.h> in the code will raise 86 * compilation error. 87 */ 88 #define PJMEDIA_AUDIO_API_NEW_ONLY 1 89 90 /** 91 * Setting PJMEDIA_AUDIO_API to this value enables application to use the old 92 * sound device API to access audio devices provided by the new audio device 93 * API. 94 */ 95 #define PJMEDIA_AUDIO_API_HAS_OLD_API 2 96 97 /** 98 * Setting PJMEDIA_AUDIO_API to this value enables old sound device 99 * implementation to be accessed via both old and new API's. 100 */ 101 #define PJMEDIA_AUDIO_API_HAS_OLD_DEVICE 3 102 103 /** 104 * Specify how the audio API should handle compatibility with old sound API. 105 * Valid values are: PJMEDIA_AUDIO_API_HAS_OLD_API (default, 106 * PJMEDIA_AUDIO_API_NEW_ONLY, or PJMEDIA_AUDIO_API_HAS_OLD_DEVICE. Please 107 * see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more info. 108 */ 109 #ifndef PJMEDIA_AUDIO_API 110 # define PJMEDIA_AUDIO_API PJMEDIA_AUDIO_API_NEW_ONLY 111 #endif 112 84 * This macro controls whether the legacy sound device API is to be 85 * implemented, for applications that still use the old sound device 86 * API (sound.h). If this macro is set to non-zero, the sound_legacy.c 87 * will be included in the compilation. The sound_legacy.c is an 88 * implementation of old sound device (sound.h) using the new Audio 89 * Device API. 90 * 91 * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more 92 * info. 93 */ 94 #ifndef PJMEDIA_HAS_LEGACY_SOUND_API 95 # define PJMEDIA_HAS_LEGACY_SOUND_API 1 96 #endif 113 97 114 98 /**
Note: See TracChangeset
for help on using the changeset viewer.