summaryrefslogtreecommitdiff
path: root/include/asterisk/tdd.h
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-12-15 13:36:34 +0000
committerOlle Johansson <oej@edvina.net>2006-12-15 13:36:34 +0000
commit0722c9ae7796538906fe3934d5428967c76723fa (patch)
tree6aa323ef0b0f08973c3cdbfdcf445b6a5d2adcec /include/asterisk/tdd.h
parent168deb2366b4d58d8eeb3a7f93c12ce77007c919 (diff)
Doxygen changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/tdd.h')
-rw-r--r--include/asterisk/tdd.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/include/asterisk/tdd.h b/include/asterisk/tdd.h
index bdd02bb40..fae569702 100644
--- a/include/asterisk/tdd.h
+++ b/include/asterisk/tdd.h
@@ -29,14 +29,12 @@
struct tdd_state;
typedef struct tdd_state TDDSTATE;
-/*! CallerID Initialization */
-/*!
+/*! CallerID Initialization
* Initializes the TDD system. Mostly stuff for inverse FFT
*/
void tdd_init(void);
-/*! Generates a CallerID FSK stream in ulaw format suitable for transmission. */
-/*!
+/*! Generates a CallerID FSK stream in ulaw format suitable for transmission.
* \param tdd tdd structure
* \param buf Buffer to use. This needs to be large enough to accomodate all the generated samples.
* \param string This is the string to send.
@@ -45,15 +43,13 @@ void tdd_init(void);
*/
int tdd_generate(struct tdd_state *tdd, unsigned char *buf, const char *string);
-/*! Create a TDD state machine */
-/*!
+/*! Create a TDD state machine
* This function returns a malloc'd instance of the tdd_state data structure.
* Returns a pointer to a malloc'd tdd_state structure, or NULL on error.
*/
struct tdd_state *tdd_new(void);
-/*! Read samples into the state machine, and return character (if any). */
-/*!
+/*! Read samples into the state machine, and return character (if any).
* \param tdd Which state machine to act upon
* \param ubuf containing your samples
* \param samples number of samples contained within the buffer.
@@ -64,15 +60,13 @@ struct tdd_state *tdd_new(void);
*/
int tdd_feed(struct tdd_state *tdd, unsigned char *ubuf, int samples);
-/*! Free a TDD state machine */
-/*!
+/*! Free a TDD state machine
* \param tdd This is the tdd_state state machine to free
* This function frees tdd_state tdd.
*/
void tdd_free(struct tdd_state *tdd);
-/*! Generate Echo Canceller diable tone (2100HZ) */
-/*!
+/*! Generate Echo Canceller disable tone (2100HZ)
* \param outbuf This is the buffer to receive the tone data
* \param len This is the length (in samples) of the tone data to generate
* Returns 0 if no error, and -1 if error.