![]() |
the next big steps - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: the next big steps (/showthread.php?tid=562) |
- abs1nth - 03-28-2007 thelusiv Wrote:Now that you mention putting BETA on it, that reminds me, maybe we should somehow signify that the whole game is still only Alpha quality. http://homepage.mac.com/julianmayer/vdrift-splash-test2.png - joevenzon - 03-28-2007 Works for me. I was encouraged today to find out that implementing some audio filters shouldn't hurt performance much, and could be used to muffle the engine sounds for when you're viewing inside the car or when another car is far away. - joevenzon - 03-28-2007 By the way, about the static: I'm using 16-bit audio... could the endian-ness of the 16-bit sample be causing static? - joevenzon - 03-28-2007 Oh yeah, also, I forgot to mention... if you run "vdrift -test" it checks out the sound library with a number of in-depth tests. It also does a stress-test and gives you information about the performance of the audio mixer (those performance tests might fail, I set the pass criteria pretty arbitrarily). - Nigo - 03-29-2007 joevenzon Wrote:Have you noticed any impact to performance versus the old sound engine? Do you have a dual-core/multi-proc system, or a single cpu?it's probably not related but on my Linux box the sound is jerky, even when I got more than 100fps... - joevenzon - 03-29-2007 Nigo: is this with the SVN code? If so, can you run "vdrift -test" and paste the output in here? - joevenzon - 03-29-2007 I updated the splash in SVN and stopped the libsplash from displaying. - thelusiv - 03-30-2007 The new spash looks nice. The sound test passes 100% for me. We should write some more tests for other classes... - reece146 - 03-30-2007 FWIW, the sound on my Linux box is "chirpy". I haven't done any ALSA tuning yet though (hda-intel). The box is a fresh build and real work keeps getting in the way of tuning. - joevenzon - 03-30-2007 reece146: is this with the SVN code? If so, can you run "vdrift -test" and paste the output in here? - reece146 - 03-30-2007 joevenzon Wrote:reece146: is this with the SVN code? If so, can you run "vdrift -test" and paste the output in here? SVN from a couple days ago. 1636? Code: BinReloc successfully initialized. - Nigo - 03-30-2007 I compiled the SVN version but it remains. "vdrift -test" doesn't say anything special (well in race mode it says it's running out of sources but that's something else) looks like it's a matter of CPU power. With the cpus on "performance" mode the sound is ok but in "powersave" mode it's jerky (even though my framerate is allright). Beside it's cracking a bit. I had none of this problems on Windows. It doesn't come from my sound card, other games and MP3 are fine PS : I don't have this "Can't open sound file" - abs1nth - 03-30-2007 abs1nth Wrote:joevenzon Wrote:wave loader is probably endian dependent and needs to be fixed for mac i get this on ppc: Performance testing Sample16bit (203ms for 1 second of 44.1khz stereo audio with 32 sources): 1/1 = 100% PASS Performance testing SampleAndAdvance16bit (293ms for 1 second of 44.1khz stereo audio with 32 sources): 1/1 = 100% PASS Performance testing SampleAndAdvanceWithPitch16bit (629ms for 1 second of 44.1khz stereo audio with 32 sources): 0/1 = 0% FAIL Sound effects testing: 3/3 = 100% PASS Sound management testing: 6/6 = 100% PASS Sound source testing: 1/3 = 33.3333% FAIL Wave loading 44k s16 c2: 4/5 = 80% FAIL TOTAL: 16/20 = 80% FAIL - abs1nth - 03-30-2007 btw: Thread 0 Crashed: 0 org.vdrift-team.vdrift 0x0004a29f SOUNDSOURCE::SetPitchSmooth(float, float) + 63 (sound.cpp:1040) this is on i386 - joevenzon - 03-30-2007 Okay, one thing to note: I didn't put the file data/test/44k_s16_c2.wav in the SConstruct because there's no reason to install it on the end user's computer, but maybe I should have. Anyway, for the -test to work you need to copy that file to your data directory, such as /usr/share/games/vdrift/data/test/44k_s16_c2.wav Nigo: when you run with -test it should output some lines and then stop without running the game at all |