Board.KolibriOS.org

Official KolibriOS board
It is currently Wed Nov 25, 2020 11:09 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun May 31, 2020 12:32 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1276
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!


Attachments:
stb_vorbis.7z [66.6 KiB]
Downloaded 53 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
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+03:00


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited