total extinction of legacy sample mode, part 7

finish the conversion method
This commit is contained in:
tildearrow 2025-11-09 17:47:37 -05:00
parent 0ac7106e0e
commit 69ae4f56bd
4 changed files with 67 additions and 1 deletions

View file

@ -104,6 +104,7 @@ struct DivSampleHistory {
struct DivSample {
String name;
int centerRate, loopStart, loopEnd;
int legacyRate;
// valid values are:
// - 0: ZX Spectrum overlay drum (1-bit)
// - 1: 1-bit NES DPCM (1-bit)
@ -338,6 +339,7 @@ struct DivSample {
centerRate(8363),
loopStart(-1),
loopEnd(-1),
legacyRate(32000),
depth(DIV_SAMPLE_DEPTH_16BIT),
loop(false),
brrEmphasis(true),