Re: [linux-audio-dev] raw pcm information

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

Subject: Re: [linux-audio-dev] raw pcm information
From: Erik de Castro Lopo (erikd-lad_AT_mega-nerd.com)
Date: Fri Aug 20 2004 - 00:21:12 EEST


???????????? wrote:

> > 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)

libsndfile reads and writes raw (ie headerless) files of all of the
above formats and has the advantage of also reading WAV, AIFF, AU
and a whole bunch of other files as well.

    http://www.mega-nerd.com/libsndfile/

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam_AT_mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"If POSIX threads are a good thing, perhaps I don't want to know what
they're better than."                                   -- Rob Pike


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

This archive was generated by hypermail 2b28 : Fri Aug 20 2004 - 00:26:37 EEST