![]() |
[Patch] Code update for new versions of ALUT - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html) +--- Forum: OALWrapper (https://www.frictionalgames.com/forum/forum-30.html) +--- Thread: [Patch] Code update for new versions of ALUT (/thread-15350.html) |
[Patch] Code update for new versions of ALUT - someone972 - 05-10-2012 The following is the code that needs to be changed/added in order for the new version of ALUT to be used with OALWrapper. This is confirmed to work with ALUT 1.1.0. In OAL_WAVSample.cpp line 54: PHP Code: #if defined(__APPLE__) PHP Code: #if defined(__APPLE__) In order for alutLoadMemoryFromFile to work in the new API, ALUT must be initialized first. Therefore some code must be added to OAL_Device.cpp. At the end of cOAL_Device::Init: PHP Code: #ifdef WITH_ALUT PHP Code: #ifdef WITH_ALUT RE: [Patch] Code update for new versions of ALUT - Urkle - 05-10-2012 Thanks... I'll take a look at that and confirm on Mac os x and Linux. What platform are you developing/testing on? RE: [Patch] Code update for new versions of ALUT - someone972 - 05-10-2012 I'm testing on Windows XP with MinGW. I'm using Code::Blocks for the IDE. |