Go to the documentation of this file.
29 #if !defined(_SPANDSP_PRIVATE_OKI_ADPCM_H_)
30 #define _SPANDSP_PRIVATE_OKI_ADPCM_H_
Definition: private/oki_adpcm.h:38
int16_t last
The last state of the ADPCM algorithm.
Definition: private/oki_adpcm.h:42
int bit_rate
The bit rate - 24000 or 32000.
Definition: private/oki_adpcm.h:40
int ptr
Pointer into the history buffer.
Definition: private/oki_adpcm.h:50
uint8_t oki_byte
The compressed data byte in progress.
Definition: private/oki_adpcm.h:46
int mark
Odd/even sample counter.
Definition: private/oki_adpcm.h:52
int16_t step_index
Current index into the step size table.
Definition: private/oki_adpcm.h:44
int phase
Phase accumulator for the sample rate converter.
Definition: private/oki_adpcm.h:54
int16_t history[32]
The signal history for the sample rate converter.
Definition: private/oki_adpcm.h:48