Subject: Re: [linux-audio-dev] timing
From: Fred Gleason (fredg_AT_wava.com)
Date: Thu Jun 20 2002 - 17:04:59 EEST
On Thursday 20 June 2002 06:43, dunk fordyce wrote:
> whats the best way to handle timing in a music app?
I've you're in a Qt environment, there always QTimer, e.g.
QTimer * timer = new QTimer();
timer->start(interval_in_msec);
connect(timer,SIGNAL(timeout()),your_widget,SLOT(your_slot)));
You can do one-shots as well. See the Qt docs.
Cheers!
|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. | Salem Radio Labs |
| Voice: 1-(540)-341-2880 | 87 Lee Highway, Suite 11 |
| FAX: 1-(540)-341-7176 | Warrenton, VA 20188 |
|-------------------------------------------------------------------------|
| The day-to-day travails of the Windows (tm) programmer are so amusing |
| to most of us who are fortunate enough never to have been one -- like |
| watching Charlie Chaplin trying to cook a shoe. |
|-------------------------------------------------------------------------|
This archive was generated by hypermail 2b28 : Thu Jun 20 2002 - 17:19:59 EEST