BuildingWithOpenAL

From SfzWiki
Revision as of 17:35, 8 August 2007 by Ghoulsblade (Talk | contribs)

Jump to: navigation, search

you can also try using openal instead of fmod, to do that :

  • delete lugre/src/lugre_sound_fmod.cpp (so scons doesn't try to compile it)
  • open lugre/src/lugre_sound.cpp in an editor
    • replace
 #define USE_FMOD			1
 //#define USE_OPENAL			1
    • by
 //#define USE_FMOD			1
 #define USE_OPENAL			1
  • open SConstruct in an editor
    • replace
 libs = 'fmodex SDL'
    • by
 libs = 'SDL'
    • repace
 includes = '/usr/local/include/fmodex /usr/include/SDL /usr/include /usr/local/include include src lugre/include lugre/src'
    • by
 includes = '/usr/include/SDL /usr/include /usr/local/include include src lugre/include lugre/src'
  • recompile