Changeset 873 for pjproject


Ignore:
Timestamp:
Dec 29, 2006 2:34:56 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #55: Invalid PortAudio? error space (PA expects negative error codes)

Location:
pjproject/trunk/pjmedia/src/pjmedia
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/endpoint.c

    r775 r873  
    134134 
    135135    /* Sound */ 
    136     pjmedia_snd_init(pf); 
     136    status = pjmedia_snd_init(pf); 
     137    if (status != PJ_SUCCESS) 
     138        goto on_error; 
    137139 
    138140    /* Init codec manager. */ 
  • pjproject/trunk/pjmedia/src/pjmedia/portaudio/portaudio.h

    r319 r873  
    6565    paNoError = 0, 
    6666 
    67     paNotInitialized = 1,   /* blp: changed from -10000 */ 
     67    paNotInitialized = -1000,   /* blp: changed from -10000 */ 
    6868    paUnanticipatedHostError, 
    6969    paInvalidChannelCount, 
Note: See TracChangeset for help on using the changeset viewer.