I know this has been done before but AFAIK none of the libraries work
in newer versions of PureBasic (and don't allow for own callbacks) ...
from fmod.org:
This small XM replay system only adds 5k to your exe!
Pre-buffered output for 0 latency, and high output stability
100% click free.
XM sample callbacks for user generated or compressed XM samples!
File system callbacks so you can specify whatever loading system you like! (disk/wad/memory)
This version adds about 10kb to your exe because all effects have been
included. That way all XMs can be properly played.
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
chris_b wrote:Will the source work with the free MS Visual C++ Toolkit?
Most likely yes.
Well, I've installed the Visual C++ Toolkit and downloaded your source files but to be honest I have no idea where to start...
Before I try changing the source code I just want to compile the "Minifmod170" file that goes in the PureBasic "UserLibraries" folder, but I've tried Googling for help and have no information about what I should do
Well, I guess I can't help you here. The source-zip contains the project-
workspace for VC6, maybe "Codeblocks" or any other free VC-IDE can
convert this file. If it's just about adding a volume control, I may find some
time to implement this but I can't promise anything as time is one of the
things I rarely have. So this may take a month or two...
Maybe someone else can help you out?
Good programmers don't comment their code. It was hard to write, should be hard to read.
Thanks! Codeblocks looks like the starting point I needed It automatically detected the VC++ Toolkit and it seems to import the project workspace from your source OK so I'm all set for some experimenting!
well everything seems to work (the PureBasic Library Maker warns that there is "no debugger routine" for the functions but I guess that's normal) but when I try to run the example xmplay.pb I get:
POLINK: warning: Multiple '.data' sections found with different flags (0xc0000040 and 0x60000040).
POLINK: error: Unresolved external symbol '__ftol2'.
POLINK: fatal error: 1 unresolved external(s).