Re: S32_LE format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Sigler wrote:
>    format       : S32_LE
>    msbits       : 24
> ...
> The first sample is stored as 00 00 a5 f5.
> Does this represent the value 0xf5a50000?

Yes.

> For the majority of samples, the first two bytes are 00 00.
> Is this because the input stream was, in fact, a 16-bit stream?

Apparently.

> For the rest of the samples, the first two byte are 08 00.
> Why don't all the samples start with 00 00?
> Does this sequence 08 00 have a special meaning?

Since only the upper 24 bits are used for sample values, the lowest
eight bits are undefined.  The sound card can set them to any value,
although most chips do set them to zero.

I don't know why the HDSP sets this bit in about half of the samples,
it may be some form of dithering.


Regards,
Clemens

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux