maverick@fir.berkeley.edu (Vance Maverick) (08/02/90)
Thanks for the many responses. One led me to the easiest solution, but none mentioned it explicitly, so I'll post it for the (conceivable) benefit of other SPARC users out there. In /usr/demo/SOUND, libaudio.a contains a conversion table from 13-bit linear data to 8-bit u-law, and multimedia/ulaw2linear.h gives useful macros for applying the conversion to 16-bit words, etc.