Re: jiffies gtk_main_iteration
- From: Joël Krähemann <weedlight gmail com>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: jiffies gtk_main_iteration
- Date: Mon, 09 Sep 2013 01:30:21 +0000
Hi,
I solved the problem by introducing a macro
#define AGS_GUI_THREAD_DEFAULT_JIFFIE 200
to calculate timing like
gui_thread->frequency = 1.0 /
(1.0 /
(double) AGS_DEVOUT_DEFAULT_SAMPLERATE *
(double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE) *
(1.0 /
(double) AGS_GUI_THREAD_DEFAULT_JIFFIE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]