[Openal-devel] just calling ALutInit(0,0) costs 20% of CPU
jviklaus
jeremieviglione at yahoo.fr
Wed Mar 4 06:47:17 PST 2009
Hello everyone,
I went to search a bit more on this, and found that an infinite loop with no
pause is done in the file alsa.c of the library,
within the function :
static ALuint ALSANoMMapProc(ALvoid *ptr);
the function is launched by a thread launched during the initialization
(ALutInit)
this function watches if a new sound has arrived and sent it to the alsa
layer,
the fact is even if there is nothing to play the loop is running,
so it requires a lot of memory..
Is this normal ?
--
View this message in context: http://www.nabble.com/just-calling-ALutInit%280%2C0%29-costs-20--of-CPU-tp22262564p22331431.html
Sent from the OpenAL - Dev mailing list archive at Nabble.com.
More information about the Openal-devel
mailing list