Searched refs:st_14linear2ulaw (Results 1 – 6 of 6) sorted by relevance
33 #define st_14linear2ulaw(sw) (_st_14linear2ulaw[(sw + 0x2000)]) macro36 unsigned char st_14linear2ulaw(int16_t pcm_val);
196 unsigned char st_14linear2ulaw( in st_14linear2ulaw() function2455 printf(" 0x%02x,", st_14linear2ulaw((-0x2000)+x));
128 *(b++) = st_14linear2ulaw((int16_t) lrintf(v)); in ulaw_from_float32ne()145 *b = st_14linear2ulaw(*a >> 2); in ulaw_from_s16ne()
66 *samples++ = (uint8_t) st_14linear2ulaw((int16_t) t >> 2); in pa_volume_ulaw_c()
506 *data = (uint8_t) st_14linear2ulaw((int16_t) sum >> 2); in pa_mix_ulaw_c()
153 st_14linear2ulaw(int16_t pcm_val) /* 2's complement (14-bit range) */ in st_14linear2ulaw() function1529 *ncp++ = st_14linear2ulaw(val >> 18); in audioop_lin2ulaw_impl()