mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
Doxygen updates, formatting.
misdn stuff needs a lot of doxygenification (Hello, Qwell :-) ) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#define _ASTERISK_ULAW_H
|
||||
|
||||
|
||||
/*! Init the ulaw conversion stuff */
|
||||
/*!
|
||||
* To init the ulaw to slinear conversion stuff, this needs to be run.
|
||||
*/
|
||||
@@ -35,9 +34,7 @@ void ast_ulaw_init(void);
|
||||
#define AST_ULAW_TAB_SIZE (32768 / AST_ULAW_STEP + 1)
|
||||
#define AST_ULAW_SIGN_BIT 0x80
|
||||
|
||||
/*! converts signed linear to mulaw */
|
||||
/*!
|
||||
*/
|
||||
/*! \brief converts signed linear to mulaw */
|
||||
#ifndef G711_NEW_ALGORITHM
|
||||
extern unsigned char __ast_lin2mu[16384];
|
||||
#else
|
||||
@@ -57,7 +54,7 @@ extern short __ast_mulaw[256];
|
||||
__ast_lin2mu[((mag) + AST_ULAW_STEP / 2) >> AST_ULAW_BIT_LOSS]
|
||||
|
||||
|
||||
/*! convert signed linear sample to sign-magnitude pair for u-Law */
|
||||
/*! \brief convert signed linear sample to sign-magnitude pair for u-Law */
|
||||
static inline void ast_ulaw_get_sign_mag(short sample, unsigned *sign, unsigned *mag)
|
||||
{
|
||||
/* It may look illogical to retrive the sign this way in both cases,
|
||||
|
Reference in New Issue
Block a user