[svn-commits] kpfleming: branch kpfleming/embedded-module-globals r56087 - /team/kpfleming/...

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Feb 21 19:15:26 MST 2007


Author: kpfleming
Date: Wed Feb 21 20:15:26 2007
New Revision: 56087

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56087
Log:
add a simple way to test this

Modified:
    team/kpfleming/embedded-module-globals/formats/format_g723.c

Modified: team/kpfleming/embedded-module-globals/formats/format_g723.c
URL: http://svn.digium.com/view/asterisk/team/kpfleming/embedded-module-globals/formats/format_g723.c?view=diff&rev=56087&r1=56086&r2=56087
==============================================================================
--- team/kpfleming/embedded-module-globals/formats/format_g723.c (original)
+++ team/kpfleming/embedded-module-globals/formats/format_g723.c Wed Feb 21 20:15:26 2007
@@ -46,6 +46,9 @@
 #include "asterisk/module.h"
 
 #define G723_MAX_SIZE 1024
+
+static int bss_tester;
+static int data_tester = 1234;
 
 static struct ast_frame *g723_read(struct ast_filestream *s, int *whennext)
 {
@@ -152,11 +155,15 @@
 
 static int load_module(void)
 {
+	ast_log(LOG_NOTICE, "bss_tester: %d - data_tester: %d\n", bss_tester, data_tester);
+	bss_tester = 7847;
+	data_tester = 8952;
 	return ast_format_register(&g723_1_f);
 }
 
 static int unload_module(void)
 {
+	ast_log(LOG_NOTICE, "bss_tester: %d - data_tester: %d\n", bss_tester, data_tester);
 	return ast_format_unregister(g723_1_f.name);
 }	
 



More information about the svn-commits mailing list