Alrighty, you guys wanted longer devlogs, so here we go…
First off, I shipped my project!!! And I got a pretty good sum of cookies! Second, I got to work on sound, and I did it, sound is now fully functional on linux(Meaning its hopefully fine for emscripten). And my next goal is to get some animation stuff done, and basically get through the entirety of an old flash animation. After that, I guess I have to deal with action script, which definitely sucks, but will be the basis of all of this… Heres a rundown of my work in the last 6 hours
-
Trying to figure out how to get FFmpeg to activate again (I know I know I have an entire video renderer using it), because FFmpeg is way too complicated for no reason.
-
Started parsing SoundStreamHead tag, which took a minute but is pretty easy by now
-
I had to work on a brand new processing script for audio, which was quick because there are only 2 formats for this tag.
-
I had to start using miniaudio, and added a tiny little wget bit to my dependency script, so now we have audio playback.
-
I had to actually get the minaudio framework working, and implimented into a new pipeline, that I lined up with the Show Frame tags.
-
I finally got SoundStreamHead working, and playing something.
-
I started working on SoundStreamHead2, which is literally a copy with more options.
-
Added the other codec options for SoundStreamHead2.
-
I basically plugged it into the other function, and when I say my ears almost exploded, I mean holy crap.
-
I worked for 2 hours to get mp3 running, but it killed everything else, so I had to patch everything else.
-
Mono was playing stereo, which really hurt my ears.
-
There were a lot of issues with the chunk sizing, so I started using swre, to resize everything to chunks that don’t change every time.
-
And after a whole crap tone more bug fixes, it’s working.
Log in to leave a comment