graspee / polutils

Automatically exported from code.google.com/p/polutils
Apache License 2.0
0 stars 0 forks source link

AudoFileStrea.cs update #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the AudioFile.cs file the following param is actually the bit depth of the 
file, 0x10 denotes a 16bit bit depth.

    public int          Size;
    public SampleFormat SampleFormat;
    public int          ID;
    public int          SampleBlocks;
    public int          LoopStart;
    public int          SampleRateLow;
    public int          SampleRateHigh;
    public int          Unknown1;
    public byte         Unknown2;
    public byte         Unknown3;// << Bit Depth
    public byte         Channels;
    public byte         BlockSize;
    public int          Unknown4;

Original issue reported on code.google.com by shikigam...@gmail.com on 5 Apr 2013 at 8:26