|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
a-Law to Signed linear conversion More...

Go to the source code of this file.
Macros | |
| #define | AMI_MASK 0x55 |
Functions | |
| static short int | alaw2linear (unsigned char alaw) |
| void | ast_alaw_init (void) |
| To init the alaw to slinear conversion stuff, this needs to be run. | |
| static unsigned char | linear2alaw (short int linear) |
Variables | |
| short | __ast_alaw [256] |
| unsigned char | __ast_lin2a [8192] |
| converts signed linear to alaw | |
a-Law to Signed linear conversion
Definition in file alaw.c.
|
inlinestatic |
| void ast_alaw_init | ( | void | ) |
To init the alaw to slinear conversion stuff, this needs to be run.
Definition at line 152 of file alaw.c.
References __ast_alaw, __ast_lin2a, alaw2linear(), AST_ALAW, AST_ALAW_STEP, AST_LIN2A, ast_log, linear2alaw(), LOG_NOTICE, and LOG_WARNING.
Referenced by asterisk_daemon().
|
inlinestatic |
Definition at line 38 of file alaw.c.
References AMI_MASK.
Referenced by ast_alaw_init().
| short __ast_alaw[256] |
| unsigned char __ast_lin2a[8192] |
converts signed linear to alaw
Definition at line 146 of file alaw.c.
Referenced by ast_alaw_init().