converts a u-law value to 16-bit linear pcm . first , a biased linear code is derived from the code word . an unbiased output can then be obtained by subtracting 33 from the biased code . note that this function expects to be passed the complement of the original code word . this is in keeping with isdn conventions . concode_field_sep int[] seg_end concode_elem_sep int NSEGS concode_elem_sep int[] _a2u concode_elem_sep int SIGN_BIT concode_elem_sep int SEG_MASK concode_elem_sep int SEG_SHIFT concode_elem_sep int BIAS concode_elem_sep int QUANT_MASK concode_elem_sep int[] _u2a concode_field_sep int search concode_elem_sep int linear2alaw concode_elem_sep int ulaw2alaw concode_elem_sep int alaw2linear concode_elem_sep int linear2ulaw concode_elem_sep int alaw2ulaw
int function ( int arg0 ) { int loc0 ; arg0 = ~ arg0 ; loc0 = ( ( arg0 & QUANT_MASK ) << 3 ) + BIAS ; loc0 <<= ( arg0 & SEG_MASK ) >> SEG_SHIFT ; return ( ( arg0 & SIGN_BIT ) != 0 ) ? ( BIAS - loc0 ) : ( loc0 - BIAS ) ; }