[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] Callback question...

From: Marisa Giancarla
Subject: Re: [XForms] Callback question...
Date: Mon, 20 Oct 2014 18:21:11 -0700

Thanks, ill look into the timeout method and let you know if that fixes it. If not i will have to switch to a different audio library...


Empire Directory: https://EmpireDirectory.net

On Oct 20, 2014, at 2:28 AM, Jens Thoms Toerring <address@hidden> wrote:


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
                       Best regards, Jens
 \   Jens Thoms Toerring  ________      address@hidden
  \_______________________________      http://toerring.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]