Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Macros | Functions
linear2ulaw.c File Reference

Macros

#define ZEROTRAP   /* turn on the trap as per the MIL-STD */
 
#define BIAS   0x84 /* define the add-in bias for 16 bit samples */
 
#define CLIP   32635
 

Functions

unsigned char linear2ulaw (int sample)