Searched refs:ulaw (Results 1 – 4 of 4) sorted by relevance
243 static __inline int16_t ulaw_to_linear(uint8_t ulaw) { in ulaw_to_linear() argument247 ulaw = ~ulaw; in ulaw_to_linear()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()338 uint8_t ulaw_to_alaw(uint8_t ulaw);
73 uint8_t ulaw_to_alaw(uint8_t ulaw) { return ulaw_to_alaw_table[ulaw]; } in ulaw_to_alaw() argument
2282 Fixed writing 'ulaw' (lower case) compressed AIFC files.2601 The aifc module now accepts lower case of names of the 'ulaw' and 'alaw'
1367 In addition, the existing ulaw code was updated.