|
spandsp 3.0.0
|
#include <oki_adpcm.h>
Public Attributes | |
| int | bit_rate |
| The bit rate - 24000 or 32000. | |
| int16_t | last |
| The last state of the ADPCM algorithm. | |
| int16_t | step_index |
| Current index into the step size table. | |
| uint8_t | oki_byte |
| The compressed data byte in progress. | |
| int16_t | history [32] |
| The signal history for the sample rate converter. | |
| int | ptr |
| Pointer into the history buffer. | |
| int | mark |
| Odd/even sample counter. | |
| int | phase |
| Phase accumulator for the sample rate converter. | |
Oki (Dialogic) ADPCM conversion state descriptor. This defines the state of a single working instance of the Oki ADPCM converter. This is used for either linear to ADPCM or ADPCM to linear conversion.
| int oki_adpcm_state_s::bit_rate |
The bit rate - 24000 or 32000.
Referenced by oki_adpcm_decode(), oki_adpcm_encode(), and oki_adpcm_init().
| int16_t oki_adpcm_state_s::history[32] |
The signal history for the sample rate converter.
Referenced by oki_adpcm_decode(), and oki_adpcm_encode().
| int oki_adpcm_state_s::mark |
Odd/even sample counter.
Referenced by oki_adpcm_encode().
| uint8_t oki_adpcm_state_s::oki_byte |
The compressed data byte in progress.
Referenced by oki_adpcm_encode().
| int oki_adpcm_state_s::phase |
Phase accumulator for the sample rate converter.
Referenced by oki_adpcm_decode(), and oki_adpcm_encode().
| int oki_adpcm_state_s::ptr |
Pointer into the history buffer.
Referenced by oki_adpcm_decode(), and oki_adpcm_encode().