Changeset 20853

Show
Ignore:
Timestamp:
09/25/07 08:53:06 (1 year ago)
Author:
patrick
Message:

Take advantage of new ALUT functions on Windows when we are using ALUT 1.0
or newer. At the very least, this fixes WAV file loading.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/sonix/plugins/OpenAL/OpenALSoundImplementation.cpp

    r19729 r20853  
    8181        defined(ALUT_API_MAJOR_VERSION) && ALUT_API_MAJOR_VERSION >= 1 
    8282#  define USE_ALUT_1_0 
     83#endif 
     84 
     85// On non-Windows platforms, the following symbols are defined through 
     86// detection tests performed by the configure script. On Windows, we have 
     87// to do it manually depending on whether we have ALUT 1.0 or newer. 
     88#if defined(VPR_OS_Windows) && defined(USE_ALUT_1_0) 
     89#  define HAVE_ALUT_GET_ERROR 
     90#  define HAVE_ALUT_INIT_WITHOUT_CONTEXT 
    8391#endif 
    8492