Changeset 3174 for pjproject/trunk/pjmedia/src/pjmedia-audiodev/errno.c
- Timestamp:
- May 17, 2010 12:51:06 PM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/projects/iphone (added) merged: 3127,3167,3173
- Property svn:mergeinfo changed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/errno.c
r2506 r3174 76 76 #if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) 77 77 78 79 /* See if the error comes from Core Audio. */ 80 #if PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 81 if (statcode >= PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START && 82 statcode <= PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_END) 83 { 84 int ca_err = PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START - statcode; 85 86 PJ_UNUSED_ARG(ca_err); 87 // TODO: create more helpful error messages 88 errstr.ptr = buf; 89 pj_strcpy2(&errstr, "Core audio error"); 90 return errstr; 91 } else 92 #endif 93 78 94 /* See if the error comes from PortAudio. */ 79 95 #if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO
Note: See TracChangeset
for help on using the changeset viewer.