* seq question - snd_seq_ev_schedule_tick();
@ 2002-06-04 0:12 rob buse
2002-06-04 10:45 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: rob buse @ 2002-06-04 0:12 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: seq question - snd_seq_ev_schedule_tick();
2002-06-04 0:12 seq question - snd_seq_ev_schedule_tick(); rob buse
@ 2002-06-04 10:45 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-06-04 10:45 UTC (permalink / raw)
To: rcbuse; +Cc: alsa-devel
At Mon, 3 Jun 2002 20:12:46 -0400,
rob buse wrote:
>
>
> 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?
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-04 10:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 0:12 seq question - snd_seq_ev_schedule_tick(); rob buse
2002-06-04 10:45 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.