Difference between revisions of "BuildingWithOpenAL"

From SfzWiki
Jump to: navigation, search
 
Line 1: Line 1:
you can also try  using openal instead of fmod,  
+
you can also try  using openal instead of fmod, to do that :
to do that  
+
  
delete lugre/src/lugre_sound_fmod.cpp (so scons doesn't try to compile it) ,
+
* delete lugre/src/lugre_sound_fmod.cpp (so scons doesn't try to compile it)  
  
edit  lugre/src/lugre_sound.cpp   
+
* open lugre/src/lugre_sound.cpp  in an editor
  
and replace  
+
* replace  
  
#define USE_FMOD 1
+
  #define USE_FMOD 1
//#define USE_OPENAL 1
+
  //#define USE_OPENAL 1
  
by
+
* by
  
//#define USE_FMOD 1
+
  //#define USE_FMOD 1
#define USE_OPENAL 1
+
  #define USE_OPENAL 1
  
and recompile
+
* recompile

Revision as of 15:12, 7 August 2007

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
  • recompile