Changeset 445 for pjproject


Ignore:
Timestamp:
May 14, 2006 9:29:53 PM (19 years ago)
Author:
bennylp
Message:

Changed default sound back-end on Win32 to own DirectSound?

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/config.c

    r424 r445  
    2222 
    2323static const char *id = "config.c"; 
    24 const char *PJ_VERSION = "0.5.5.1"; 
     24const char *PJ_VERSION = "0.5.5.5"; 
    2525 
    2626PJ_DEF(void) pj_dump_config(void) 
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r443 r445  
    3535 */ 
    3636#ifndef PJMEDIA_SOUND_IMPLEMENTATION 
    37 //#   define PJMEDIA_SOUND_IMPLEMENTATION           PJMEDIA_SOUND_PORTAUDIO_SOUND 
     37#  if defined(PJ_WIN32) && PJ_WIN32!=0 
    3838#   define PJMEDIA_SOUND_IMPLEMENTATION     PJMEDIA_SOUND_WIN32_DIRECT_SOUND 
     39#  else 
     40#   define PJMEDIA_SOUND_IMPLEMENTATION     PJMEDIA_SOUND_PORTAUDIO_SOUND 
     41#  endif 
    3942#endif 
    4043 
  • pjproject/trunk/pjsip-apps/src/samples/sndinfo.c

    r412 r445  
    128128    ++rec_counter; 
    129129 
    130     if (timestamp - last_rec_timestamp >= clock_rate) { 
     130    if (timestamp - last_rec_timestamp >= clock_rate && last_play_timestamp) { 
    131131        int diff; 
    132132        diff = last_play_timestamp - timestamp; 
Note: See TracChangeset for help on using the changeset viewer.