[NUT-devel] [nut]: r611 - docs/nut4cc.txt

Rich Felker dalias at aerifal.cx
Tue Feb 12 19:16:18 CET 2008


On Tue, Feb 12, 2008 at 03:50:39PM +0100, michael wrote:
> Author: michael
> Date: Tue Feb 12 15:50:38 2008
> New Revision: 611
> 
> Log:
> PCM audio
> comments welcome
> 
> 
> Modified:
>    docs/nut4cc.txt
> 
> Modified: docs/nut4cc.txt
> ==============================================================================
> --- docs/nut4cc.txt	(original)
> +++ docs/nut4cc.txt	Tue Feb 12 15:50:38 2008
> @@ -82,5 +82,16 @@ ARGB    Packed RGBA 8:8:8:8, 32bpp, ARGB
>  RGB[24] Packed RGB 8:8:8, 24bpp RGB [NOT in AVI]
>  BGR[24] Packed RGB 8:8:8, 24bpp BGR [NOT in AVI]
>  
> +Raw audio: [x] is an byte with value x,  [NOT in AVI]
> +ALAW    A-LAW
> +ULAW    MU-LAW
> +<sign><type><interleaving><bits> little endian PCM
> +<bits><interleaving><type><sign> big endian PCM
> +    <sign> is S for signed, U for unsigned
> +    <type> is I for integer, F for IEEE float
> +    <interleaving> is D for default (left, right)
> +    <bits> is 8/16/24/32
> +SFD[32]   would for example be signed 32 bit little endian IEEE float

Signed/unsigned makes no sense for float; it will always be signed. I
would have the choices for the first byte be S/U/F and think about
whether we need any extra fields stored here with the byte saved.

Rich



More information about the NUT-devel mailing list