It ran correctly on the next attempt, here's the error.log
----------------------------------------------------------------------
Timestamp : 9/4/2011 5:05:48
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004819F5 :
ESoundException : RegisterSample(wav/dsvildth.wav): An invalid parameter was passed to this function
$004819F5 TSOUND__REGISTERSAMPLE, line 164 of d:/Projects/fpcvalkyrie/src/vsound.pas
$00481B12 TSOUND__REGISTERSAMPLE, line 177 of d:/Projects/fpcvalkyrie/src/vsound.pas
$0047C34D TDOOMCONFIG__SOUNDQUERY, line 237 of src/doomconfig.pas
$00480F2A ITERATE, line 78 of d:/Projects/fpcvalkyrie/src/vluaconfig.pas
$00480E77 ITERATE, line 77 of d:/Projects/fpcvalkyrie/src/vluaconfig.pas
$00480CBC TLUACONFIG__RECENTRYFEED, line 86 of d:/Projects/fpcvalkyrie/src/vluaconfig.pas
$0047BF7F TDOOMCONFIG__CREATE, line 209 of src/doomconfig.pas
$0041D8F0 TDOOM__LOAD, line 219 of src/doombase.pas
$0041E027 TDOOM__RUN, line 326 of src/doombase.pas
$004022CA main, line 91 of src/doomrl.pas
----------------------------------------------------------------------