From e03158426d316085bbec3088f3a54004dc832a0e Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 20 Jun 2006 15:39:07 +0000 Subject: Yet again large diffs because of documentation/doxygen update git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@531 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/confbench.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'pjsip-apps/src/samples/confbench.c') diff --git a/pjsip-apps/src/samples/confbench.c b/pjsip-apps/src/samples/confbench.c index 2dae32b7..26a0fac6 100644 --- a/pjsip-apps/src/samples/confbench.c +++ b/pjsip-apps/src/samples/confbench.c @@ -17,11 +17,19 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* + +/** + * \page page_pjmedia_samples_confbench_c Samples: Benchmarking Conference Bridge + * * Benchmarking pjmedia (conference bridge+resample). For my use only, * and it only works in Win32. + * + * This file is pjsip-apps/src/samples/confbench.c + * + * \includelineno confbench.c */ + #include #include /* pj_getopt */ #include @@ -38,8 +46,8 @@ * HAS_RESAMPLE will activate resampling on about half * the port. */ -#define TEST_SET SMALL_SET -#define HAS_RESAMPLE 1 +#define TEST_SET LARGE_SET +#define HAS_RESAMPLE 0 #define SMALL_SET 16 @@ -265,7 +273,10 @@ int main() return 1; } + printf("Resampling is %s\n", (HAS_RESAMPLE?"active":"disabled")); + /* Create Null ports */ + printf("Creating %d null ports..\n", NULL_COUNT); for (i=0; i