nn::snd::CTR::AdpcmContext Structurestruct AdpcmContext
{
u16 pred_scale;
s16 yn1;
s16 yn2;
};
A structure that stores an ADPCM context.
| 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). |
CONFIDENTIAL