[asterisk-commits] mnicholson: branch group/res_fax r240408 - /team/group/res_fax/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 15 14:11:16 CST 2010


Author: mnicholson
Date: Fri Jan 15 14:11:12 2010
New Revision: 240408

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=240408
Log:
Removed the generate_silence stub from res_fax_spandsp.  It does not appear to be necessary.

Modified:
    team/group/res_fax/res/res_fax_spandsp.c

Modified: team/group/res_fax/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/group/res_fax/res/res_fax_spandsp.c?view=diff&rev=240408&r1=240407&r2=240408
==============================================================================
--- team/group/res_fax/res/res_fax_spandsp.c (original)
+++ team/group/res_fax/res/res_fax_spandsp.c Fri Jan 15 14:11:12 2010
@@ -64,9 +64,6 @@
 
 /*! \brief */
 static int spandsp_fax_cancel(struct ast_fax_session *s);
-
-/*! \brief */
-static int spandsp_fax_generate_silence(struct ast_fax_session *s);
 
 /*! \brief */
 static int spandsp_fax_switch_to_t38(struct ast_fax_session *s);
@@ -99,7 +96,6 @@
 	.write = spandsp_fax_write,
 	.start_session = spandsp_fax_start,
 	.cancel_session = spandsp_fax_cancel,
-	.generate_silence = spandsp_fax_generate_silence,
 	.switch_to_t38 = spandsp_fax_switch_to_t38,
 	.cli_show_capabilities = spandsp_fax_cli_show_capabilities,
 	.cli_show_session = spandsp_fax_cli_show_session,
@@ -641,14 +637,6 @@
 	return 0;
 }
 
-static int spandsp_fax_generate_silence(struct ast_fax_session *s)
-{
-	/* XXX figure out what to do here, and figure out if we even need this
-	 * perhaps we should call fax_set_transmit_on_idle() here or something
-	 */
-	return 0;
-}
-
 static int spandsp_fax_switch_to_t38(struct ast_fax_session *s)
 {
 	struct spandsp_pvt *p = s->tech_pvt;




More information about the asterisk-commits mailing list