[Openal] Re: OpenAL Soft performance question
Chris Robinson
chris.kcat at gmail.com
Thu Oct 8 10:15:32 PDT 2009
On Thursday 08 October 2009 9:36:19 am Troy Yee wrote:
> My attempts with 1.9.563 and with ~/.alsoftrc setting [alsa] mmap = off
> both produced same problem. Is there a way I can be certain that the mmap
> = off option did what is expected?
Modify the source, and add an AL_PRINT() statement to the start of
ALSANoMMapProc, before the while() loop. If you do that, it may also be a good
idea to add a counter, using a uint64_t. eg..
uint64_t myin64val = 0;
...
aluMixData(...);
myin64val += data->size;
AL_PRINT("Current val: 0x%llx\n", myint64val);
and see what the value is when it starts giving problems. If it's very close
to 80000000 or 100000000, then it very likely is an overflow problem
somewhere.
More information about the Openal
mailing list