Searched refs:ULAW_BIAS (Results 1 – 1 of 1) sorted by relevance
200 #define ULAW_BIAS 0x84 /* Bias for linear code. */ macro214 linear = ULAW_BIAS - linear - 1; in linear_to_ulaw()217 linear = ULAW_BIAS + linear; in linear_to_ulaw()252 t = (((ulaw & 0x0F) << 3) + ULAW_BIAS) << (((int) ulaw & 0x70) >> 4); in ulaw_to_linear()253 return (int16_t)((ulaw & 0x80) ? (ULAW_BIAS - t) : (t - ULAW_BIAS)); in ulaw_to_linear()