add AICA and YMZ ADPCM formats
This commit is contained in:
parent
a2ae7dbb3d
commit
ce253230ce
4 changed files with 52 additions and 4 deletions
|
|
@ -62,6 +62,8 @@ struct DivSample {
|
|||
// valid values are:
|
||||
// - 0: ZX Spectrum overlay drum (1-bit)
|
||||
// - 1: 1-bit NES DPCM (1-bit)
|
||||
// - 2: AICA ADPCM
|
||||
// - 3: YMZ ADPCM
|
||||
// - 4: QSound ADPCM
|
||||
// - 5: ADPCM-A
|
||||
// - 6: ADPCM-B
|
||||
|
|
@ -77,6 +79,8 @@ struct DivSample {
|
|||
short* data16; // 16
|
||||
unsigned char* data1; // 0
|
||||
unsigned char* dataDPCM; // 1
|
||||
unsigned char* dataAICA; // 2
|
||||
unsigned char* dataZ; // 3
|
||||
unsigned char* dataQSoundA; // 4
|
||||
unsigned char* dataA; // 5
|
||||
unsigned char* dataB; // 6
|
||||
|
|
@ -84,8 +88,8 @@ struct DivSample {
|
|||
unsigned char* dataBRR; // 9
|
||||
unsigned char* dataVOX; // 10
|
||||
|
||||
unsigned int length8, length16, length1, lengthDPCM, lengthQSoundA, lengthA, lengthB, lengthX68, lengthBRR, lengthVOX;
|
||||
unsigned int off8, off16, off1, offDPCM, offQSoundA, offA, offB, offX68, offBRR, offVOX;
|
||||
unsigned int length8, length16, length1, lengthDPCM, lengthAICA, lengthZ, lengthQSoundA, lengthA, lengthB, lengthX68, lengthBRR, lengthVOX;
|
||||
unsigned int off8, off16, off1, offDPCM, offAICA, offZ, offQSoundA, offA, offB, offX68, offBRR, offVOX;
|
||||
unsigned int offSegaPCM, offQSound, offX1_010, offSU;
|
||||
|
||||
unsigned int samples;
|
||||
|
|
@ -218,6 +222,8 @@ struct DivSample {
|
|||
data16(NULL),
|
||||
data1(NULL),
|
||||
dataDPCM(NULL),
|
||||
dataAICA(NULL),
|
||||
dataZ(NULL),
|
||||
dataQSoundA(NULL),
|
||||
dataA(NULL),
|
||||
dataB(NULL),
|
||||
|
|
@ -228,6 +234,8 @@ struct DivSample {
|
|||
length16(0),
|
||||
length1(0),
|
||||
lengthDPCM(0),
|
||||
lengthAICA(0),
|
||||
lengthZ(0),
|
||||
lengthQSoundA(0),
|
||||
lengthA(0),
|
||||
lengthB(0),
|
||||
|
|
@ -238,6 +246,8 @@ struct DivSample {
|
|||
off16(0),
|
||||
off1(0),
|
||||
offDPCM(0),
|
||||
offAICA(0),
|
||||
offZ(0),
|
||||
offQSoundA(0),
|
||||
offA(0),
|
||||
offB(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue