[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XForms] Callback question...
From: |
Jens Thoms Toerring |
Subject: |
Re: [XForms] Callback question... |
Date: |
Mon, 20 Oct 2014 11:28:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
On Mon, Oct 20, 2014 at 02:04:56AM -0700, Marisa Giancarla wrote:
> Im adding gorilla audio to my app and have tried using the idle callback
> feature but the audio is choppy. Is there a way to get a callback on every
> frame to smooth it out?
Idle callbacks are indeed only invoked if there's lots of time.
And there's no callback for "frames" (I guess this is a screen
refresh - the lbrary doesn't even know about them).
Unless you can put the audio handling into a separate thread
(which might be the cleanest solution, just make sure that
you don't do anything graphics-related from within that
thread!) I'd try it with a timeout - they have a much higher
priority.
Best regards, Jens
--
\ Jens Thoms Toerring ________ address@hidden
\_______________________________ http://toerring.de