Ignore:
Timestamp:
Dec 28, 2016 9:27:40 AM (7 years ago)
Author:
nanang
Message:

Re #1900: Miscelaneous updates, e.g: enable/disable WMME/WASAPI automatically based on active platform, cosmetics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjmedia/include/pjmedia-audiodev/config.h

    r5513 r5515  
    114114 
    115115 
    116 /** 
    117  * This setting controls whether WMME support should be included. 
    118  */ 
     116 /** 
     117  * This setting controls whether WMME support should be included. 
     118  */ 
    119119#ifndef PJMEDIA_AUDIO_DEV_HAS_WMME 
    120 #   define PJMEDIA_AUDIO_DEV_HAS_WMME           1 
    121 #endif 
    122  
    123   
    124 /** 
     120#  ifdef PJ_WIN32_UWP 
     121#    define PJMEDIA_AUDIO_DEV_HAS_WMME          0 
     122#  else 
     123#    define PJMEDIA_AUDIO_DEV_HAS_WMME          1 
     124#  endif 
     125#endif 
     126 
     127 
     128 /** 
     129  * This setting controls whether Windows Audio Session API (WASAPI) 
     130  * support should be included. 
     131  */ 
     132#ifndef PJMEDIA_AUDIO_DEV_HAS_WASAPI 
     133#  ifdef PJ_WIN32_UWP 
     134#    define PJMEDIA_AUDIO_DEV_HAS_WASAPI        1 
     135#  else 
     136#    define PJMEDIA_AUDIO_DEV_HAS_WASAPI        0 
     137#  endif 
     138#endif 
     139 
     140 
     141 /** 
    125142 * This setting controls whether BDIMAD support should be included. 
    126143 */ 
Note: See TracChangeset for help on using the changeset viewer.