EvilEngine/Sound Format: Difference between revisions

no edit summary
mNo edit summary
Battlepedia>Dark
No edit summary
Line 62:
! Offset !! Type !! Variable !! Description
|-
| 0x00 || short || fmtId || 0x690x0069 if xboxXbox adpcmADPCM, 00x0001 if linearLinear PCM.
|-
| 0x02 || short || fmtChannels || Number of audio Channels.
|-
| 0x04 || int || fmtSampleRate || Sampling rate. Xbox ADPCM data plays at this rate multipled by 65/64.
|-
| 0x08 || int || fmtBytesPerSecond || Used as an estimate, canfor bytes per second. Can be anythingignored.
|-
| 0x0C || short || fmtBlockAlignment || Block Size. 0x0024 for Xbox ADPCM data.
|-
| 0x0E || short || fmtBitsPerSample || Number of bits used per sample. 0x0004 if Xbox ADPCM, 0x0000 if Linear PCM.
|-
| 0x10 || short || fmtExtBytes || EqualWill toalways be 0x0002 if adpcm,Xbox ADPCM. 0x00x0000 if linearLinear pcmPCM.
|-
| 0x12 || short || fmtExtData || Used to store adpcmADPCM nibbles per block;. 0x40Normally 0x0040 if using xboxXbox adpcm,APCM. 00x0000 if linearLinear pcmPCM.
|-
| 0x14 || int || dataSize || Size of the corresponding SND or SNDS asset.
|-
| 0x18 || [[AssetID]] || Sound Asset ID || Asset ID of corresponding SND or SNDS asset.
|-
| 0x1C || byte[16] || paddingPadding ||
|}
 
 
===Playstation 2===
Anonymous user