Code: Select all
>>>>>>>>>>>> Received AL error Invalid Value (0xa003), oalsound.cpp:1439
this happens because of this line (confirmed by calling GetALError right after that line). It seems 'st' results NaN and is propagated from 'startTime' being NaN, but then this happened because of this code, due to the fact that GSnd->GetMSLength(sfx->data) is 0 and the 'fmod' operation returns NaN under such case.
In order to reproduce this, load the attached pk3 with Doom2 wad and summon the actor 'TestError' and see the error twice in the console.
I'm not sure, but I suppose the implementation of startTime in A_StartSound did not take this situation into account. What should it happen under such case?
This was found out when the DRPGCrates actors from DoomRPG SE mod are loaded.