From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: seq question - snd_seq_ev_schedule_tick(); Date: Tue, 04 Jun 2002 12:45:39 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20020603201246.C1804@filter24.mshome.net> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20020603201246.C1804@filter24.mshome.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: rcbuse@filter24.org Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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