Problem with FMOD-Library
Posted: Thu Sep 08, 2005 3:08 pm
Hi,
please download the FMOD-API for Linux: http://www.fmod.org/files/fmodapi3741linux.tar.gz
and extract the FMOD library libfmod-3.74.1.so and try:
Do you see 0 or a big number? When big number, then try this code and copy the debug output:
Thank you!!!
please download the FMOD-API for Linux: http://www.fmod.org/files/fmodapi3741linux.tar.gz
and extract the FMOD library libfmod-3.74.1.so and try:
Code: Select all
Debug OpenLibrary(#PB_Any, "libfmod-3.74.1.so") Code: Select all
TS_Sound_LIB = OpenLibrary(#PB_Any, "libfmod-3.74.1.so")
If TS_Sound_LIB
Debug TS_Sound_LIB
Debug IsFunction(TS_Sound_LIB, "FSOUND_Init")
Debug IsFunction(TS_Sound_LIB, "FSOUND_Sample_Load")
Debug IsFunction(TS_Sound_LIB, "FSOUND_SetVolume")
Debug IsFunction(TS_Sound_LIB, "FSOUND_SetReserved")
Debug IsFunction(TS_Sound_LIB, "FSOUND_Sample_SetMode")
Debug IsFunction(TS_Sound_LIB, "FSOUND_Sample_Get")
Debug IsFunction(TS_Sound_LIB, "FSOUND_PlaySound")
Debug IsFunction(TS_Sound_LIB, "FSOUND_StopSound")
Debug IsFunction(TS_Sound_LIB, "FSOUND_Sample_Free")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_LoadSongEx")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_LoadSong")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_SetMasterVolume")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_SetLooping")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_PlaySong")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_IsPlaying")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_StopSong")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_StopAllSongs")
Debug IsFunction(TS_Sound_LIB, "FMUSIC_FreeSong")
Debug IsFunction(TS_Sound_LIB, "FSOUND_Close")
CloseLibrary(TS_Sound_LIB)
EndIf