Newsgroups: comp.speech
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.cac.psu.edu!news.tc.cornell.edu!caen!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!news.mathworks.com!udel!news.sprintlink.net!EU.net!uknet!festival!leeds.ac.uk!news
From: eenma@sun.leeds.ac.uk (M Ahmadi)
Subject: Re: Sparc 10 Audio question
Message-ID: <1994Nov3.160054.21671@leeds.ac.uk>
Sender: news@leeds.ac.uk
Reply-To: eenma@sun.leeds.ac.uk
Organization: University of Leeds, U.K.
Date: Thu, 3 Nov 1994 16:00:54 +0000 (GMT)
References: <3960fk$1le@nkosi.well.com>
Lines: 11

Hi'
I have written some program for my project which is able to record and play mu-law and 
16-bits pcm linear. These program are able to handel both dbri(i.e. sparc10) and 
audioamd (i.e. LPX, LX,..).I have had no problem with it. About your problem: I think 
the problem lies within the conversion of 8 to 16 bits. I have used the following program which is available in the SOUNDTOOL provided bu SUN:
				audio_u2s(unsigned char var)
this returns an unsigned short.
I hope this will help.
                                                 Masoud Ahmadi


