Ignore:
Timestamp:
Mar 16, 2006 6:52:55 PM (18 years ago)
Author:
bennylp
Message:

Added sound port (sound_port.h/c), and changed sound and RTCP names from pj_* to pjmedia_*

File:
1 edited

Legend:

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

    r278 r321  
    107107 
    108108    /* Sound */ 
    109     pj_snd_init(pf); 
     109    pjmedia_snd_init(pf); 
    110110 
    111111    /* Init codec manager. */ 
    112112    status = pjmedia_codec_mgr_init(&endpt->codec_mgr); 
    113113    if (status != PJ_SUCCESS) { 
    114         pj_snd_deinit(); 
     114        pjmedia_snd_deinit(); 
    115115        goto on_error; 
    116116    } 
     
    123123    status = g711_init_factory (factory, endpt->pool); 
    124124    if (status != PJ_SUCCESS) { 
    125         pj_snd_deinit(); 
     125        pjmedia_snd_deinit(); 
    126126        goto on_error; 
    127127    } 
     
    129129    status = pjmedia_codec_mgr_register_factory (&endpt->codec_mgr, factory); 
    130130    if (status != PJ_SUCCESS)  { 
    131         pj_snd_deinit(); 
     131        pjmedia_snd_deinit(); 
    132132        goto on_error; 
    133133    } 
     
    159159    endpt->pf = NULL; 
    160160 
    161     pj_snd_deinit(); 
     161    pjmedia_snd_deinit(); 
    162162    pj_pool_release (endpt->pool); 
    163163 
Note: See TracChangeset for help on using the changeset viewer.