Changeset 2429


Ignore:
Timestamp:
Jan 27, 2009 10:05:48 AM (11 years ago)
Author:
bennylp
Message:

Ticket #707: pjmedia-test: link error when L16 codec is disabled, and compile error due to Unicode platform in sdp_test

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

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/mips_test.c

    r2394 r2429  
    882882} 
    883883 
     884#if defined(PJMEDIA_HAS_L16_CODEC) && PJMEDIA_HAS_L16_CODEC!=0 
    884885static pj_status_t init_l16_default(pjmedia_endpt *endpt) 
    885886{ 
     
    914915                               samples_per_frame, flags, te); 
    915916} 
     917#endif 
    916918 
    917919/***************************************************************************/ 
     
    22802282        { "codec encode/decode - Speex 8Khz", OP_PUT, K8, &speex8_encode_decode}, 
    22812283        { "codec encode/decode - Speex 16Khz", OP_PUT, K16, &speex16_encode_decode}, 
     2284#if defined(PJMEDIA_HAS_L16_CODEC) && PJMEDIA_HAS_L16_CODEC!=0 
    22822285        { "codec encode/decode - L16/8000/1", OP_PUT, K8, &l16_8_encode_decode}, 
    22832286        { "codec encode/decode - L16/16000/1", OP_PUT, K16, &l16_16_encode_decode}, 
     2287#endif 
    22842288        { "stream TX/RX - G.711", OP_PUT_GET, K8, &create_stream_pcmu}, 
    22852289        { "stream TX/RX - G.711 SRTP 32bit", OP_PUT_GET, K8, &create_stream_pcmu_srtp32_no_auth}, 
  • pjproject/trunk/pjmedia/src/test/sdp_neg_test.c

    r2394 r2429  
    13291329    pj_status_t status; 
    13301330 
    1331     status = pjmedia_sdp_parse(pool, oa->sdp1, pj_native_strlen(oa->sdp1), 
     1331    status = pjmedia_sdp_parse(pool, oa->sdp1, pj_ansi_strlen(oa->sdp1), 
    13321332                                &sdp1); 
    13331333    if (status != PJ_SUCCESS) { 
     
    13711371 
    13721372        /* Parse and validate remote answer */ 
    1373         status = pjmedia_sdp_parse(pool, oa->sdp2, pj_native_strlen(oa->sdp2), 
     1373        status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), 
    13741374                                   &sdp2); 
    13751375        if (status != PJ_SUCCESS) { 
     
    14061406 
    14071407        /* Parse and validate the correct active media. */ 
    1408         status = pjmedia_sdp_parse(pool, oa->sdp3, pj_native_strlen(oa->sdp3), 
     1408        status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), 
    14091409                                   &sdp3); 
    14101410        if (status != PJ_SUCCESS) { 
     
    14481448        if (oa->sdp2) { 
    14491449            /* Parse and validate initial local capability */ 
    1450             status = pjmedia_sdp_parse(pool, oa->sdp2, pj_native_strlen(oa->sdp2), 
     1450            status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), 
    14511451                                       &sdp2); 
    14521452            if (status != PJ_SUCCESS) { 
     
    15081508 
    15091509        /* Parse the correct answer. */ 
    1510         status = pjmedia_sdp_parse(pool, oa->sdp3, pj_native_strlen(oa->sdp3), 
     1510        status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), 
    15111511                                   &sdp3); 
    15121512        if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.