First, I added checked to the return values of all the SDL_* calls.
Nothing appears to be failing.

Second, I added some "profiling" variables to the get/send data, get/queue
event, and get/queue command functions. I declared some global counters,
initialized them to zero. Every time a function is entered, the counter
for that function is increased by one. The variables are then printed
out in the sound_sdl_exit() function. Those results are below, running
LSL3 for at least 30 seconds, and quitting via the "Bail Out" button
after the intro.

get_command: 11514776, q_command: 11
get_event: 639, q_event: 8
get_data 6, send_data: 6


I can only assume that on a well-functioning system that get/queue
functions should have about the same number of calls. Is this right?

I'm not sure what to do with this data, any suggestions? Maybe SDL's event
signals aren't working right on win32?

--
http://www.clock.org/~matt



Reply via email to