It's expected behaviour- I am not converting ADPCM to PCM stream due to NAudio compatibility issues with Linux- instead I'm forcing to play compressed sound.
I realized all this after a while. I spent a lot of time trying too google a way to convert the adpcm to pcm. Just kept finding the function that you already were using in windows. I actually thought I fixed it by removing waveout from the equation. Till I went to check again last night and i then realized I was looking at the wrong function as the problem. I was thinking of comparing the bytes of the pre and post converted audio. *shrugs*.
Vorbis OGG is also a compression format, just like adpcm. They both need conversion to basic stream, which FFMpeg will be capable of this.
Naudio.Vorbis uncompesses the audio to a 32-bit float WaveStream. I found a function to convert it to 16 bit. So the ogg music is playing and
looping in Windows and Linux.
I'll be moving to FFMpeg soon- that will solve this problem
Sounds good. I was thinking of finishing up the ogg music playing stuff. It works like the directmusic stuff. So I was going to setup my code to mirror what you have there.
I'm sorry for these posts. I was figuring things out as I went. I shoulda came back and edited more as I figured things out.
--- edit---
For some reason the loop is not working correctly at least not on all the files... I'm 99% sure my code is correct but on '512 The Loser.ogg' it's obvious that STARTLOOP is being ignored. So it is looping the whole sound effect. So I look forward to ffmpeg.
symbolNames in module-field_debug doesn't seem to be working. Just a black screen. i'm getting string[1] with a lot of 0 values. On testbl3 it gives a out of range exception on the line of epe[i].labelASM = symbolNames[epe[i].label];
"C:\\ff8\\Data\\eng\\FIELD\\mapdata\\te\\testbl3\\testbl3.sy" I guess this is supposed to be a bunch of strings. It's many 0 and 255 values instead. I was getting a lot of index out of range errors when it was trying parse it.
I uncommented statupscript and started seeing images. with some exceptions which might be why it was commented

I'm looking at the diffs in github's app might try to commit tonight.