[linux-audio-dev] raw pcm information

Benno Senoner sbenno at gardena.net
Thu Aug 19 15:49:34 UTC 2004


not big secrets here.
try to look up the docs for the WAV format.
or just search for big/little endian encoding
24bit packed words etc

in substance there are only a few mainstream raw pcm data encodings.

8bit , in some case signed, in others unsigned (amiga IIRC).
16bit signed (2 complement)  (usually little endian, aka x86 endianess, 
PPCs must swap da)
24bit usually  signed (2 complement), little endian
32bit integer
32bit float (IEEE)

cheers,
Benno
http://www.linuxsampler.org

Garett Shulman wrote:

> Hello, I have been googleing around trying to find information on raw 
> pcm data. Does anybody know of any tutorials or references on raw pcm 
> data?  I am most curious about different storage types (2s complement, 
> etc), and how multiple channels are stored. Thanks. -Garett
>




More information about the Linux-audio-dev mailing list