]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Added more comments
authorEric des Courtis <eric.des.courtis@benbria.com>
Fri, 12 Dec 2008 00:39:41 +0000 (00:39 +0000)
committerEric des Courtis <eric.des.courtis@benbria.com>
Fri, 12 Dec 2008 00:39:41 +0000 (00:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10724 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_vmd/mod_vmd.c

index 2ea052f57796a980a4b710b9472d707cda6d8eef..573206141c350aa040cf4eb81ecf1e2cf97b1870 100644 (file)
@@ -450,6 +450,8 @@ double ampl_estimator(double *x)
  *  {x_2}{x_4}}}
  *  {{2}({x^2_2} - {x_1}{x_3})}}\f$
  *
+ * @param x an array for 5 evenly spaced audio samples \f$x_0, x_1, x_2, x_3, x_4\f$
+ * @return a frequency estimate
  */
 double freq_estimator(double *x)
 {
@@ -461,7 +463,10 @@ double freq_estimator(double *x)
         );
 }
 
-/*! FreeSWITCH module loading function */
+/*! FreeSWITCH module loading function 
+ *
+ * @return load success or failure
+ */
 SWITCH_MODULE_LOAD_FUNCTION(mod_vmd_load)
 {
     switch_application_interface_t *app_interface;
@@ -479,7 +484,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_vmd_load)
     return SWITCH_STATUS_SUCCESS;
 }
 
-/*! FreeSWITCH application handler function */
+/*! FreeSWITCH application handler function 
+ *
+ * @return success or failure
+ */
 SWITCH_STANDARD_APP(vmd_start_function)
 {
     switch_media_bug_t *bug;