Subject: Re: PCM8 vs. PCM16/LINEAR?
To: None <newsham@aloha.net>
From: Mike Long <mike.long@analog.com>
List: tech-kern
Date: 07/31/1995 16:13:34
>[I wrote:]
>> Sun's audio(4) states that PCM data is always signed.  Either we
>> should define another symbol for unsigned data (e.g.
>> AUDIO_ENCODING_ULINEAR) or require that the hardware driver be
>> responsible for any necessary conversion (may be SLOW).
>
>The amiga's native sound format is 8 bit unsigned.  It would
>be nice if this was an option in the generic interface.  
>As for the conversion being slow I think a simple exor with
>0x80 or 0x8000 will do the trick.

I know; my point was that ANY data conversion done in software slows
down the system.  That includes the ULAW <-> PCM8 conversion already
provided.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));