ScummVM API documentation
Mohawk::ADPCMStatus Struct Reference

#include <sound.h>

Classes

struct  StatusItem
 

Public Attributes

uint32 size
 
uint16 itemCount
 
uint16 channels
 
struct Mohawk::ADPCMStatus::StatusItem * statusItems
 

Detailed Description

Parsed contents of an MHWK/WAVE ADPC seek-state chunk.

Each item captures enough per-channel decoder state to resume ADPCM decoding at a particular source sample frame. The current decoder parses and validates these records but does not yet use them for seeking.

Member Data Documentation

◆ size

uint32 Mohawk::ADPCMStatus::size

Serialized ADPC chunk payload size in bytes.

◆ itemCount

uint16 Mohawk::ADPCMStatus::itemCount

Number of seek-state records stored in Mohawk::ADPCMStatus::statusItems.

◆ channels

uint16 Mohawk::ADPCMStatus::channels

Number of channel states serialized in each seek-state record.

◆ statusItems

struct Mohawk::ADPCMStatus::StatusItem * Mohawk::ADPCMStatus::statusItems

Dynamically allocated array containing Mohawk::ADPCMStatus::itemCount records. The MHWK decoder owns this array while parsing the ADPC chunk and releases it immediately because ADPCM seeking is not currently implemented.


The documentation for this struct was generated from the following file: