Dear fellow open-format fans.
Now you will have the ability to listen to OGG Vorbis music in KolibriOS!
Kudos to Sean Barrett for releasing his code to the public domain.
http://www.nothings.org/stb_vorbis/
Attached is the source and .bat file used to compile COFF library for KolibriOS using mingw.
I tricked GCC into inline most of the match functions into the library, which worked for me, but is of-course a hack.
Bottom line: compiling on another platform/version of GCC is not guaranteed to produce a working library.
If anyone can suggest a more proper way to generate a library for KolibriOS like this, please let me now!
stb_vorbis - OGG vorbis decoder
-
- Attachments
-
-
stb_vorbis.7z (66.6 KiB)Downloaded 373 times
-
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Who is online
Users browsing this forum: No registered users and 3 guests