dev233 - breaking the limit, part 1
now up to 32768 wavetables and 32768 samples this is the first part and does not implement the new sample limit correctly I have to adapt every dispatch to the new limit... see you in the next part the format version had to be bumped because the WL and SL .fui features were limited to 256 entries there are new LW and LS blocks with more space howwver there's a new issue... we can have a feature larger than 65536, which is a limit imposed by the feature header :< this will be addressed though
This commit is contained in:
parent
c96d2983cd
commit
98030de8c7
9 changed files with 276 additions and 77 deletions
|
|
@ -1097,8 +1097,8 @@ struct DivInstrument : DivInstrumentPOD {
|
|||
void writeFeatureN1(SafeWriter* w);
|
||||
void writeFeatureFD(SafeWriter* w);
|
||||
void writeFeatureWS(SafeWriter* w);
|
||||
size_t writeFeatureSL(SafeWriter* w, std::vector<int>& list, const DivSong* song);
|
||||
size_t writeFeatureWL(SafeWriter* w, std::vector<int>& list, const DivSong* song);
|
||||
size_t writeFeatureLS(SafeWriter* w, std::vector<int>& list, const DivSong* song);
|
||||
size_t writeFeatureLW(SafeWriter* w, std::vector<int>& list, const DivSong* song);
|
||||
void writeFeatureMP(SafeWriter* w);
|
||||
void writeFeatureSU(SafeWriter* w);
|
||||
void writeFeatureES(SafeWriter* w);
|
||||
|
|
@ -1123,6 +1123,8 @@ struct DivInstrument : DivInstrumentPOD {
|
|||
void readFeatureWS(SafeReader& reader, short version);
|
||||
void readFeatureSL(SafeReader& reader, DivSong* song, short version);
|
||||
void readFeatureWL(SafeReader& reader, DivSong* song, short version);
|
||||
void readFeatureLS(SafeReader& reader, DivSong* song, short version);
|
||||
void readFeatureLW(SafeReader& reader, DivSong* song, short version);
|
||||
void readFeatureMP(SafeReader& reader, short version);
|
||||
void readFeatureSU(SafeReader& reader, short version);
|
||||
void readFeatureES(SafeReader& reader, short version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue