Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support more opponents
05-01-2012, 05:13 PM,
Windows build(without data) vdrift-gui-2012-05-01.exe:

- Fix: Reimplement active sound sources culler.
- Clean up sound class. Get rid of stdint.h as it is c99.

Tracks updated:
05-02-2012, 05:32 AM,
Some testing with 24 cars has shown that the thread safe sound system is having heavy crackling at start with some very minimal/occasional crackles afterwards. I have no crackling with up to 12 cars.

Would be great if I could get some feedback on this. Try different numbers opponents with active sources limit of 64(default) and 32.
05-02-2012, 12:10 PM,
OK, now I feel somewhat stupid. But then it's my first contact with sound processing, hehe.

The crackling comes not from the sound callback threading issues but from values overflow. This also explains its massive presence at start.

I think we need to look into the sound attenuation equation, need a stronger falloff for close sources maybe. The currently used one looks somewhat funky, not sure about its origin. Or should the values be simply clamped?

A simple workaround for now is to reduce in game sound effects volume to about 12/24 = 0.5.
05-02-2012, 03:53 PM,
New build vdrift-gui-2012-05-02.exe:

The only change is an increased sound attenuation falloff factor(from 1.3 to 1.6). This should fix the sound issues finally. Please test.
05-02-2012, 06:39 PM,
congratulations for all these karts on the grid !!!

So, my problem : Vdrift try to try to load...but it doesn't start...I'm sorry for lights informations :?

I've copied new build's components on old's components...
05-03-2012, 01:11 AM,
That sucks. I can not fix a bug without any hints on what is failing.

Have you tried to delete C:\Users\{user}\Documents\VDrift? It should be created on vdrift start.

Maybe try to run it from console

What are the specs of your machine, OS?
05-03-2012, 01:58 AM,
I've upladed a version with debugger included: vdrift-gui-gdb.exe

- Delete user settings C:\Users\{user}\Documents\VDrift
- Start gdb.exe. You should see a console pop up.
- To load game symbols enter: file vdrift.exe
- To start debugging enter: run
- The game should start/crash
- To get more crash info enter: bt
- Copy content of the console and post here.
- To exit debugger enter: q

Also post content of log.txt if there is one.
05-03-2012, 03:53 AM,
Here it is :

[Image: 168984bug.jpg]

[Image: 559369bug2.jpg]

No log.txt
05-03-2012, 03:58 AM,
Much better. I need to add a check to avoid the crash.

You are using wrong data. I guess

Switch to
05-03-2012, 12:07 PM,
[Image: 601899bug.jpg]

must I rename "vdrift-data-gui" as "data" ?
05-03-2012, 12:17 PM,

If you have used TortoiseSVN before(to checkout data). All you have to do is: TortoiseSVN->Switch...
05-03-2012, 12:38 PM,
[Image: 601899bug.jpg]

Ok, but this error message appears !
05-03-2012, 12:44 PM,
I've made a new SVN update, this message you know why ?

[Image: 327322bug2.jpg]
05-03-2012, 12:51 PM,
Quote:I've made a new SVN update, this message you know why ?
Some operation before might have failed. Try TortoiseSVN->Release Lock. If this doesn't work try TortoiseSVN->Revert. If this fails try reboot, hehe.
05-03-2012, 01:58 PM,
@NaN, check out my commit
I think I fixed the sound overdrive.

This happens also when setting very high volume eg.
volume = 10

It's because there are int values and need to be clamped to short -32767..32767.
I did it for each sound source and for whole out (the sum of them too).
Don't know about performance though, this goes for each sample.

Forum Jump:

Users browsing this thread: 1 Guest(s)