Asterisk - The Open Source Telephony Project  21.4.1
Macros | Functions | Variables
alaw.c File Reference

a-Law to Signed linear conversion More...

#include "asterisk.h"
#include "asterisk/alaw.h"
#include "asterisk/logger.h"

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
 

Detailed Description

a-Law to Signed linear conversion

Author
Mark Spencer marks.nosp@m.ter@.nosp@m.digiu.nosp@m.m.co.nosp@m.m

Definition in file alaw.c.

Variable Documentation

short __ast_alaw[256]

help

Definition at line 150 of file alaw.c.