From b5931d8f7220aa592d04f626f4d1e71e01bdeeb5 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 29 May 2008 11:03:23 +0000 Subject: 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 --- pjsip/src/pjsua-lib/pjsua_media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pjsip') 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, -- cgit v1.2.3