Home
last modified time | relevance | path

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

/sound/core/oss/
Dmulaw.c120 static int ulaw2linear(unsigned char u_val) in ulaw2linear() argument
125 u_val = ~u_val; in ulaw2linear()
131 t = ((u_val & QUANT_MASK) << 3) + BIAS; in ulaw2linear()
132 t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT; in ulaw2linear()
134 return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); in ulaw2linear()