Fixed bug wrong option for resample port between conference bridge and sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1970 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/pjsua-lib/pjsua_media.c b/pjsip/src/pjsua-lib/pjsua_media.c
index 2936066..90b3946 100644
--- a/pjsip/src/pjsua-lib/pjsua_media.c
+++ b/pjsip/src/pjsua-lib/pjsua_media.c
@@ -1849,10 +1849,10 @@
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,