Hi Andru,
I have used one or two ogg and vorbis DLLs before to stream ogg files using OpenAL in the past (was a bit buggy though), but I was hoping to use some solution that doesn't need yet more DLL/SO files to distribute (or install) with my game...C/C++ seems to be able to play ogg files without extra libs due to just compiling the libs into the exe.
I don't think I can do this with Freepascal/Delphi?
I already have the sdl.dll, openal.dll, and my game engine dll...
EDIT: what sort of music files can ZenGL play?
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
ZenGL can stream ogg music. And it uses libraries which I mentioned. With FreePascal you can use static linking without dll's. Delphi... you can try to use object files from ogg libs after compilation with Borland C++, but I had no luck.
Hi Andru, I have downloaded libogg 1.3.0 and libvorbis 1.3.2, and both seem to come with source code...so I was wondering what I might be able to compile them with to produce statically linking libs/whatever for freepascal then? (I guess I can always give up on Delphi for compiling my game and just use Lazarus)
Any idea if code::blocks might work?
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Yes, it will, but you will be needed to create proper project file with all options... But even so - static compilation won't be easy for Windows. See source code of ZenGL - zgl_sound_ogg.pas and zgl_lib_msvcrt.pas.Any idea if code::blocks might work?
Last edited by Andru; 26-12-2011 at 10:49 AM.
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Bookmarks