Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::ADPCMState_t Struct Reference

Public Member Functions

int32_t Decode (uint_t uDeltaCode)
 Given a 4 bit sample, process a sample.
 

Public Attributes

int32_t m_iFirstSample
 First audio sample.
 
int32_t m_iSecondSample
 Second audio sample.
 
int32_t m_iCoef1
 Coefficient 1 constant.
 
int32_t m_iCoef2
 Coefficient 2 constant.
 
int32_t m_iIndex
 Index into step size table.
 

Member Function Documentation

◆ Decode()

int32_t BURGER_API Burger::ADPCMState_t::Decode ( uint_t uDeltaCode)

Given a 4 bit sample, process a sample.


Decode a sample and update the state tables Each sample is 4 bits in size

Member Data Documentation

◆ m_iCoef1

int32_t Burger::ADPCMState_t::m_iCoef1

Coefficient 1 constant.

◆ m_iCoef2

int32_t Burger::ADPCMState_t::m_iCoef2

Coefficient 2 constant.

◆ m_iFirstSample

int32_t Burger::ADPCMState_t::m_iFirstSample

First audio sample.

◆ m_iIndex

int32_t Burger::ADPCMState_t::m_iIndex

Index into step size table.

◆ m_iSecondSample

int32_t Burger::ADPCMState_t::m_iSecondSample

Second audio sample.