Open H-A-M-G-E-R opened 2 months ago
For WAV it can be loaded all at once in SoundEffect though that probably uses too much memory.
All other formats can use any standard decoder and pass the PCM to a DynamicSoundEffectInstance.
I think FLAC/WAV can be streamed from disk with less CPU cycles than Vorbis. Proof: https://phoboslab.org/log/2023/02/qoa-time-domain-audio-compression
QOA is fine too - Vorbis is mostly for disk size, for FNA's purposes it was chosen to replace XNA MediaPlayer's format which is WMA. You can pick any format you want, we'll read PCM either way.
I know that Touhou uses WAV files as music.