seq question - snd_seq_ev_schedule_tick();
I have an event that I want to schedule..
snd_seq_ev_schedule_tick( &ev, queue, 0, tick);
What is that tick relative to? When I start running the queue ? or when I call snd_seq_drain_output( ) ? or when snd_seq_event_output() is called?
sorry if this is a dumb question.
thanks
.buse
----------------------------------------------------------
music + technology http://filter24.org
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
At Mon, 3 Jun 2002 20:12:46 -0400,
Quoted 9 lines · rob buse
I have an event that I want to schedule..
snd_seq_ev_schedule_tick( &ev, queue, 0, tick);What is that tick relative to? When I start running the queue ? or when I call
snd_seq_drain_output( )? or whensnd_seq_event_output()is called?
relative to the current time.
for example,
snd_seq_ev_schedule_tick(&ev, q, 1, 30)
will schedule the event processed at 30 ticks after from now on the queue q.
when the third parameter (relative) is zero (i.e. "absolute" time), then it's scheduled at 30 ticks after the start of the queue.
Takashi
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm