Ignore:
Timestamp:
May 17, 2010 12:51:06 PM (9 years ago)
Author:
ming
Message:

Merge #1051 into the main trunk.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjmedia/include/pjmedia-audiodev/errno.h

    r2506 r3174  
    9090            ((int)PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START+err) 
    9191 
     92 
     93/** 
     94 * Mapping from CoreAudio error codes to pjmedia error space. 
     95 */ 
     96#define PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START \ 
     97            (PJMEDIA_AUDIODEV_ERRNO_START+20000) 
     98#define PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_END   \ 
     99            (PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START + 20000 -1) 
     100/** 
     101 * Convert CoreAudio error code to PJLIB error code. 
     102 * CoreAudio error code range: 0 >= err >= -10000 
     103 */ 
     104#define PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(err) \ 
     105            ((int)PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START-err) 
    92106 
    93107/************************************************************ 
Note: See TracChangeset for help on using the changeset viewer.