Ignore:
Timestamp:
Oct 29, 2009 9:39:17 AM (14 years ago)
Author:
bennylp
Message:

Ticket #983: make native WMME the default audio device on Windows and Windows Mobile:

  • increase default playback latency (PJMEDIA_SND_DEFAULT_PLAY_LATENCY) to 140ms for Win32 and 160ms for WM
  • set default PJMEDIA_SOUND_BUFFER_COUNT to (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20 rather than hardcoded 6
  • disable PA from audiodev on Win32 and WM
File:
1 edited

Legend:

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

    r2833 r2977  
    4545/** 
    4646 * This setting controls whether PortAudio support should be included. 
     47 * 
     48 * By default it is enabled except on Windows platforms (including 
     49 * Windows Mobile) and Symbian. 
    4750 */ 
    4851#ifndef PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 
    49 #   define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO      1 
     52#   if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ 
     53       (defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0) 
     54#       define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO  0 
     55#   else 
     56#       define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO  1 
     57#   endif 
    5058#endif 
    5159 
Note: See TracChangeset for help on using the changeset viewer.