diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2008-05-29 11:03:23 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2008-05-29 11:03:23 +0000 |
commit | b5931d8f7220aa592d04f626f4d1e71e01bdeeb5 (patch) | |
tree | 0104a9afd40fba3b6caf0e38475a5eaa558b86c2 | |
parent | f6d32199ffa340dbbc4f5cdb2869ea3f30fd2529 (diff) |
Fixed bug wrong option for resample port between conference bridge and sound device
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1970 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_media.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_media.c b/pjsip/src/pjsua-lib/pjsua_media.c index 29360660..90b39460 100644 --- a/pjsip/src/pjsua-lib/pjsua_media.c +++ b/pjsip/src/pjsua-lib/pjsua_media.c @@ -1849,10 +1849,10 @@ PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev, if (pjsua_var.media_cfg.quality >= 3 && pjsua_var.media_cfg.quality <= 4) { - resample_opt |= PJMEDIA_CONF_SMALL_FILTER; + resample_opt |= PJMEDIA_RESAMPLE_USE_SMALL_FILTER; } else if (pjsua_var.media_cfg.quality < 3) { - resample_opt |= PJMEDIA_CONF_USE_LINEAR; + resample_opt |= PJMEDIA_RESAMPLE_USE_LINEAR; } status = pjmedia_resample_port_create(pjsua_var.pool, |