VGM export: bake SegaPCM samples

after this, the following has to be done:
- PCM playback
- PCM playback on PCE and NES (let's hope this is possible)
This commit is contained in:
tildearrow 2022-01-24 12:39:05 -05:00
parent ea796c2d6b
commit e221bcb023
3 changed files with 59 additions and 6 deletions

View file

@ -6,7 +6,7 @@ struct DivSample {
signed char vol, pitch;
unsigned char depth;
short* data;
unsigned int rendLength, adpcmRendLength, rendOff;
unsigned int rendLength, adpcmRendLength, rendOff, rendOffP;
short* rendData;
unsigned char* adpcmRendData;
@ -23,6 +23,7 @@ struct DivSample {
rendLength(0),
adpcmRendLength(0),
rendOff(0),
rendOffP(0),
rendData(NULL),
adpcmRendData(NULL) {}
~DivSample();