Re: [linux-audio-dev] Re: Exact desicption of PCM system for ALSA

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: Exact desicption of PCM system for ALSA
From: Paul Davis (pbd_AT_op.net)
Date: Fri Jul 12 2002 - 17:09:04 EEST


>> encoding, the value (generally) varies between -(2^N) and (2^N)-1,
>> where N is the number of bits used to store the value. So a 16 bit
>> value will vary between -65536 and 65535. there are other ways of
>
>Errr, I think you meant "... between -(2^(N-1)) and 2^(N-1)-1 ... "
>So you get a range between -32768 and 32767 for 16 bit signed
>or between 0 and 65536 for unsigned 16bit.

yes, indeed i did. sorry for the error. this reply is just to confirm
that alex is right, and i am wrong :)


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jul 12 2002 - 17:14:27 EEST