Forums
Sound crash - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: Sound crash (/showthread.php?tid=1046)



Sound crash - thelusiv - 01-14-2009

Code:
vdrift: src/sound.cpp:965: void SOUNDSOURCE::SampleAndAdvanceWithPitch16bit(int*, int*, int): Assertion `idx+chaninc < samples' failed.
This is with the TL2 on Road Atlanta on turn 10. I had previously raced with another car on another track, left the game and started this one. I'll try to reproduce it and get a stack trace.


- joevenzon - 01-15-2009

I rewrote the sound sampling function in R2301. Let me know if you see any more asserts in the sound code.