ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/structdefs/SNDD.txt
(Generate patch)

Comparing oup/structdefs/SNDD.txt (file contents):
Revision 37 by alloc, Sat Aug 26 19:48:23 2006 UTC vs.
Revision 73 by alloc, Thu Jan 11 21:00:24 2007 UTC

# Line 1 | Line 1
1   Sound Data
2   File id $00     12      File id
3   Level id        $04     17      Level id
4 < Wav header      $08     10054   Wav header; don't alter it
4 > #Wav header     $08     10054   Wav header; don't alter it
5   Duration        $3E     2       Duration in 1/60 seconds
6   Size    $40     4       Size of the part in the raw file
7   Offset  $44     11      At this position starts the part in the raw file
8   Not used        $48     1024    Not used
9 +
10 + *Wave Header    Wave Header     $08
11 + FmtSize $00     4       Format Chunk Size
12 + FormatID        $04     2       FormatID (2 = ADPCM)
13 + Channels        $06     2
14 + Samples/s       $08     4       Sample rate
15 + Bytes/s $0C     4       Bytes per second
16 + Block align     $10     2
17 + Bits/sample     $12     2
18 +
19 + *Extended ADPCM Header          $1C
20 + ExtSize $00     2
21 + Samples/block   $02     2
22 + CoefficientSets $04     2
23 + Set1    $06     4
24 + Set2    $0A     4
25 + Set3    $0E     4
26 + Set4    $12     4
27 + Set5    $16     4
28 + Set6    $1A     4
29 + Set7    $1E     4

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)