Article View: comp.dsp
Article #894SPARC / u-law question answered
From: Vance Maverick
Date: Thu, 02 Aug 1990 00:01
Date: Thu, 02 Aug 1990 00:01
7 lines
795 bytes
795 bytes
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.
Technical Details
Message-ID:
<26666@pasteur.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!pasteur!fir.berkeley.edu!maverickShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!pasteur!fir.berkeley.edu!maverick From: maverick@fir.berkeley.edu (Vance Maverick) Newsgroups: comp.dsp Subject: SPARC / u-law question answered Message-ID: <26666@pasteur.Berkeley.EDU> Date: 2 Aug 90 00:01:36 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: maverick@fir.berkeley.edu (Vance Maverick) Lines: 7