Home
last modified time | relevance | path

Searched refs:BIAS (Results 1 – 1 of 1) sorted by relevance

/sound/core/oss/
Dmulaw.c52 #define BIAS (0x84) /* Bias for linear code. */ macro
91 pcm_val = BIAS - pcm_val; in linear2ulaw()
94 pcm_val += BIAS; in linear2ulaw()
131 t = ((u_val & QUANT_MASK) << 3) + BIAS; in ulaw2linear()
134 return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); in ulaw2linear()