Add MACE 6:1 decompression to fix some missing audio samples, parallelize deflate compression

This commit is contained in:
elasota
2020-06-07 17:17:32 -04:00
parent 4c3ccbd7fa
commit b37b0a4f8a
7 changed files with 492 additions and 36 deletions

11
gpr2gpa/macedec.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include <stdint.h>
struct MaceChannelDecState
{
int16_t index, factor, prev2, previous, level;
};
void DecodeMACE3(MaceChannelDecState *chd, uint8_t pkt, uint8_t *output);
void DecodeMACE6(MaceChannelDecState *chd, uint8_t pkt, uint8_t *output);