Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restart Game - sound errors
12-13-2006, 03:14 AM,
#1
Restart Game - sound errors
When I pause the game and click "Restart Game" (usually because I'm not catching up with the AI fast enough...) I get the following errors:
Code:
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/cars/M3/engine.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Reply
12-13-2006, 10:52 PM,
#2
 
What exactly does restart game do? That is, what functions from main.cpp does it call?
Reply
12-21-2006, 09:05 AM,
#3
 
It calls ResetWorld( true );
Reply
12-21-2006, 09:43 PM,
#4
 
Okay, the problem was that resetworld(true) was doing a selectcar (which deletes and recreates the car) without doing a sound reload. I added this and it should be fixed now (R1449).
Reply
12-22-2006, 03:12 AM,
#5
 
Hmmm, I still get:
Code:
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Unable to find the file: /usr/share/games/vdrift/data/cars/XM/interior.joe!
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/cars/XM/engine.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Unable to find the file: /usr/share/games/vdrift/data/cars/XM/interior.joe!
and no sounds after a restart.
Reply
02-17-2007, 08:15 PM,
#6
 
Still still seems to be an issue. I am using the current SVN (1542) and sound still isn't respawned when restart game is clicked.
Reply
02-18-2007, 03:12 PM,
#7
 
I'll put this on my TODO... but if anyone finds a better open-source cross platform sound library than OpenAL, let me know. A rewrite of the sound class is probably in order, also... it should be higher level and abstract further away from OpenAL.
Reply
02-19-2007, 03:04 AM,
#8
 
Our sound code really does need some work. Currently playing with AI, whenever I start to slide there is a big slow down in the game, possibly from trying to allocate sound sources? Obviously it has run out of sound sources, because the player car's engine sound doesn't work (though the AI car sounds do).
Reply
04-03-2007, 02:22 AM,
#9
 
i dnt have sound either but i dont no much bout computers this game seems to have alot of faults
Reply
04-03-2007, 03:03 AM,
#10
 
The issues in this post are mostly fixed, though there are other problem with the sound in the last release. Sound stuff should be much better in the next version. We're working on that. Sure the game has plenty of faults, it's a work in progress.
Reply
04-05-2007, 03:00 PM,
#11
 
Odd I just ran the development version of vDrift and noticed that the only sound is a long vibrating like sound. is this normal??
Reply
04-05-2007, 03:07 PM,
#12
 
kidrock Wrote:Odd I just ran the development version of vDrift and noticed that the only sound is a long vibrating like sound. is this normal??

the new sound engine doesn't work yet on PowerPC machines like the iMac G5 you seem to be using
Reply
04-05-2007, 03:17 PM,
#13
 
Oh ok. how long until it is done? also i just noticed that there isnt even a engine rev sound file in the sounds folder. thought that would have been the problem. thanks anyway.
Reply
04-05-2007, 06:58 PM,
#14
 
We'll get it fixed sooner or later, whenever we get to it. Wink

The engine sound lives in the directory of the car it goes with. We used to only have one engine sound but now we have one for each car. Many of them are the same since we don't have a lot of sound samples.
Reply
04-09-2007, 07:42 PM,
#15
 
Thats good. Hey anyway i can help with the sound issues on ppc machines? tell me what to do and i will do it. i really would like to help with it. either pm me or tell me in this forum. thanks

David Xerri
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)