Ignore:
Timestamp:
Feb 21, 2009 2:21:59 PM (16 years ago)
Author:
bennylp
Message:

Updated libraries and applications to use the new Audio Device API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/conference.c

    r2460 r2468  
    466466 
    467467    if ((conf->options & PJMEDIA_CONF_NO_DEVICE) == 0) { 
    468         pjmedia_snd_stream *strm; 
    469         pjmedia_snd_stream_info si; 
     468        pjmedia_aud_stream *strm; 
     469        pjmedia_aud_param param; 
    470470 
    471471        /* 
     
    495495 
    496496        strm = pjmedia_snd_port_get_snd_stream(conf->snd_dev_port); 
    497         status = pjmedia_snd_stream_get_info(strm, &si); 
     497        status = pjmedia_aud_stream_get_param(strm, &param); 
    498498        if (status == PJ_SUCCESS) { 
    499             const pjmedia_snd_dev_info *snd_dev_info; 
     499            pjmedia_aud_dev_info snd_dev_info; 
    500500            if (conf->options & PJMEDIA_CONF_NO_MIC) 
    501                 snd_dev_info = pjmedia_snd_get_dev_info(si.play_id); 
     501                pjmedia_aud_dev_get_info(param.play_id, &snd_dev_info); 
    502502            else 
    503                 snd_dev_info = pjmedia_snd_get_dev_info(si.rec_id); 
    504             pj_strdup2_with_null(pool, &conf_port->name, snd_dev_info->name); 
     503                pjmedia_aud_dev_get_info(param.rec_id, &snd_dev_info); 
     504            pj_strdup2_with_null(pool, &conf_port->name, snd_dev_info.name); 
    505505        } 
    506506    } 
Note: See TracChangeset for help on using the changeset viewer.