mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 09:58:19 -07:00
AD1848: Use the correct algorithm for CS423x ADPCM
Still has level and DC offset issues, but actual use cases are lacking (all validation was done with ALSA's adpcm conversion plugin)
This commit is contained in:
@@ -66,10 +66,10 @@ typedef struct ad1848_t {
|
||||
uint8_t enable : 1;
|
||||
uint8_t irq : 4;
|
||||
uint8_t dma : 3;
|
||||
uint8_t adpcm_ref;
|
||||
int8_t adpcm_step;
|
||||
int adpcm_predictor[2];
|
||||
int16_t adpcm_step_index[2];
|
||||
int freq;
|
||||
int adpcm_data;
|
||||
uint8_t adpcm_data;
|
||||
int adpcm_pos;
|
||||
|
||||
uint8_t dma_ff;
|
||||
|
||||
Reference in New Issue
Block a user