22 #ifndef ULTIMA8_AUDIO_SONARCAUDIOSAMPLE_H 23 #define ULTIMA8_AUDIO_SONARCAUDIOSAMPLE_H 25 #include "ultima/ultima8/audio/audio_sample.h" 31 struct SonarcDecompData {
36 static bool _generatedOneTable;
37 static int _oneTable[256];
39 static void GenerateOneTable();
41 static void decode_EC(
int mode,
int samplecount,
42 const uint8 *source,
int sourcesize,
44 static void decode_LPC(
int order,
int nsamples,
45 uint8 *dest,
const uint8 *factors);
46 static int audio_decode(
const uint8 *source, uint8 *dest);
58 uint32 decompressFrame(SonarcDecompData *decompData, uint8 *samples)
const;
Definition: sonarc_audio_sample.h:30
Definition: audiostream.h:212
Definition: detection.h:27
Definition: audio_sample.h:32