Revision history for ExtLibbassmod


Revision [16774]

Last edited on 2013-05-01 12:42:16 by DkLwikki
Additions:
Examples: in examples/sound/BASS/


Revision [15919]

Edited on 2012-02-02 10:11:34 by DkLwikki [Add version]
Additions:
Header version: 2.0


Revision [15423]

Edited on 2011-10-11 11:17:38 by CountingPine [Remove CamelCase link]
Additions:
Platforms supported: ""Win32"", Linux
Deletions:
Platforms supported: Win32, Linux


Revision [15361]

Edited on 2011-10-05 08:14:03 by DkLwikki [Add example]
Additions:
{{fbdoc item="ex"}}
{{fbdoc item="filename" value="examples/manual/libraries/bassmod.bas"}}%%(freebasic)
#include once "bassmod.bi"
const SOUND_FILE = "test.mod"
if (BASSMOD_GetVersion() < 2) then
print "BASSMOD version 2 or above required!"
end 1
end if
if (BASSMOD_Init(-1, 44100, 0) = 0) then
print "Could not initialize BASSMOD"
end 1
end if
if (BASSMOD_MusicLoad(FALSE, SOUND_FILE, 0, 0, BASS_MUSIC_LOOP) = 0) then
print "BASSMOD could not load '" & SOUND_FILE & "'"
BASSMOD_Free()
end 1
end if
BASSMOD_MusicPlay()
print "Sound playing; waiting for keypress to stop and exit..."
sleep
BASSMOD_MusicStop()
BASSMOD_MusicFree()
BASSMOD_Free()
%%


Revision [10593]

The oldest known version of this page was created on 2007-08-03 22:41:09 by SirMud [Add example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode