- Timestamp:
- Feb 21, 2009 2:21:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/conference.c
r2460 r2468 466 466 467 467 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; 470 470 471 471 /* … … 495 495 496 496 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, ¶m); 498 498 if (status == PJ_SUCCESS) { 499 const pjmedia_snd_dev_info *snd_dev_info;499 pjmedia_aud_dev_info snd_dev_info; 500 500 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); 502 502 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); 505 505 } 506 506 }
Note: See TracChangeset
for help on using the changeset viewer.