ScummVM API documentation
Agi::IIgsSampleHeader Struct Reference

Public Member Functions

bool read (Common::SeekableReadStream &stream)
 
bool finalize (int8 *sampleData)
 

Public Attributes

uint16 type
 
uint8 pitch
 Logarithmic, base is 2**(1/12), unknown multiplier (Possibly in range 1040-1080)
 
uint8 unknownByte_Ofs3
 
uint8 volume
 Current guess: Logarithmic in 6 dB steps.
 
uint8 unknownByte_Ofs5
 0 in all tested samples.
 
uint16 instrumentSize
 44 in all tested samples. A guess.
 
uint16 sampleSize
 Accurate in all tested samples excluding Manhunter I's sound resource 16.
 
IIgsInstrumentHeader instrument
 

Member Function Documentation

◆ read()

bool Agi::IIgsSampleHeader::read ( Common::SeekableReadStream stream)

Read an Apple IIGS AGI sample header from the given stream.

Parameters
streamThe source stream from which to read the data.
Returns
True if successful, false otherwise.

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