nn::snd::CTR::AdpcmContext Structure

Syntax

struct AdpcmContext
{
   u16 pred_scale;
   s16 yn1;
   s16 yn2;
};

Description

A structure that stores an ADPCM context.

Member Variables

pred_scale Stores the (4-bit) predicted and (4-bit) scale ADPCM values. The upper 8 bits are not accessed.
yn1 Past data (the previous sample).
yn2 Past data (the sample before the previous sample).

Revision History

2010/02/02
Initial version.

CONFIDENTIAL