Changeset 5546


Ignore:
Timestamp:
Jan 25, 2017 4:15:11 AM (3 years ago)
Author:
nanang
Message:

Re #1900: Updated audio device config to automatically enable WASAPI and disable WMME when PJ_WIN32_WINPHONE8 is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-audiodev/config.h

    r5543 r5546  
    118118  */ 
    119119#ifndef PJMEDIA_AUDIO_DEV_HAS_WMME 
    120 #  ifdef PJ_WIN32_UWP 
     120#  if (defined(PJ_WIN32_UWP) && PJ_WIN32_UWP!=0) || \ 
     121      (defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8!=0) 
    121122#    define PJMEDIA_AUDIO_DEV_HAS_WMME          0 
    122123#  else 
     
    131132  */ 
    132133#ifndef PJMEDIA_AUDIO_DEV_HAS_WASAPI 
    133 #  ifdef PJ_WIN32_UWP 
     134#  if (defined(PJ_WIN32_UWP) && PJ_WIN32_UWP!=0) || \ 
     135      (defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8!=0) 
    134136#    define PJMEDIA_AUDIO_DEV_HAS_WASAPI        1 
    135137#  else 
Note: See TracChangeset for help on using the changeset viewer.