> I In the portaudio callback, don't touch the gui at all. Just > process the buffer and use variables to communicate with the gui thread. > IE, set the peak value, the position, time elapsed, etc in simple > variables. Then in the main thread, use an idle timeout to monitor > these variables and update the gui accordingly.
>From the portaudio thread you can fire a oneshot idle function. Idle functions are run from the main gtk thread, and might be easier than setting up an idle callback to constantly check variables. iain _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list