04-14-2007, 03:22 PM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
abs1nth: I've got a new high level sound test function set up. Just run vdrift -test and look for a line like:
Code: Sound callback testing: 512/512 = 100% PASS
This test just plays the test wave file (the first 512 samples) and looks for agreement with output from the callback on my computer. See data/test/testgoal.txt for the outputs from my computer. The outputs from your computer get dumped to data/test/testdump.txt
Does this help at all?
|
|
04-15-2007, 01:11 PM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
Perhaps it's something about how the SDL library behaves on pc vs mac. I'm not sure how we could find that out, but the SDL_mixer library must have to deal with the same issues, so we could check that....
Also, try changing line 343 in sound.cpp
Code: desired.samples = 1024;
to 4192, since that's what the "audio examples" code (which worked fine for you) used.
|
|
|