When calling GetAudio() with an OGG format ScdFile, an "Argument Exception: length is larger than sourceArray" exception occurs in Array.Copy.
After checking SaintCoinach's implementation and the SCD format, I confirmed that deleting line 517 (probably) corrects the problem, but I don't really understand how this works.
SaintCoinach Implementation
|
Reader.Position = subInfoStartPos + audioBasicDesc.SubInfoSize; |
When calling GetAudio() with an OGG format ScdFile, an "Argument Exception: length is larger than sourceArray" exception occurs in Array.Copy.
After checking SaintCoinach's implementation and the SCD format, I confirmed that deleting line 517 (probably) corrects the problem, but I don't really understand how this works.
SaintCoinach Implementation
Lumina/src/Lumina/Data/Files/ScdFile.cs
Line 517 in a268028