[Openal] Re: OpenAL Soft performance question
Troy Yee
troystoy at shaw.ca
Thu Oct 8 17:36:50 PDT 2009
Thanks Chris.
I did this and don't see anything being printed. I confirmed that my .alsoftrc is being read by changing some other settings and observing that they take effect. Is there a reason why mmap stuff wouldn't be acted upon? (I haven't looked yet but will after I send this).
Troy.
----- Original Message -----
From: Chris Robinson <chris.kcat at gmail.com>
Date: Thursday, October 8, 2009 10:18
Subject: Re: [Openal] Re: OpenAL Soft performance question
To: openal at opensource.creative.com
> 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.
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20091008/92e3e04a/attachment.html
More information about the Openal
mailing list