Subject: Re: PCM8 vs. PCM16/LINEAR?
To: None <tech-kern@NetBSD.ORG>
From: Mike Long <>
List: tech-kern
Date: 08/03/1995 09:59:55
>Date: Wed, 2 Aug 1995 23:36:39 -0400
>From: John Kohl <>
>Oh, and you forgot an unsigned linear 8-bit encoding in your table
>(that's the native format on sb and sb-pro.  The newer cards might also
>like 16-bit unsigned linear?)

I noticed while rereading the AD1846 datasheet last night that the
1846's 16-bit linear mode is signed, while its 8-bit linear mode is
unsigned.  All of the other codecs are probably the same way.

So we add


to fill up that unsightly hole between AUDIO_ENCODING_LINEAR (3) and

That reminds me.  There are multiple ADPCM formats out there, which
does AUDIO_ENCODING_ADPCM represent?  IMA, G.722 (not sure about that
#), Creative Labs?  A bit academic because no one uses it yet.
Mike Long <> 
VLSI Design Engineer         finger for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));