ScummVM API documentation
Agi::AgiNote Struct Reference

#include <sound.h>

Public Member Functions

void read (const uint8 *ptr)
 

Public Attributes

uint16 duration
 Note duration.
 
uint16 freqDiv
 Note frequency divisor (10-bit)
 
uint8 attenuation
 Note volume attenuation (4-bit)
 

Detailed Description

AGI sound note structure.

Member Function Documentation

◆ read()

void Agi::AgiNote::read ( const uint8 *  ptr)
inline

Reads an AgiNote through the given pointer.


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