Re: jiffies gtk_main_iteration



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]