From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Simple alsa sequencer question Date: Mon, 27 Oct 2003 11:54:21 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20031025024106.3aad73cc.rpav@mephle.com> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20031025024106.3aad73cc.rpav@mephle.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ryan Pavlik Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sat, 25 Oct 2003 02:41:06 -0700, Ryan Pavlik wrote: > > Minor question... I probably just overlooked something... > but when I subscribe to a port, and I've done this: > > : > snd_seq_port_subscribe_set_queue(subs, 1); > snd_seq_port_subscribe_set_time_update(subs, 1); > snd_seq_port_subscribe_set_time_real(subs, 1); > : > > Shouldn't I get numbers in ev->time.time.tv_*? I'm just getting > zeros... what did I miss? ;) no, it should be, as long as the event is delivered to these subscribers (i.e. setting the destination as SND_SEQ_ADDR_SUBSCRIBERS). btw, to update the timestamp of every event to a certain port, you can set the timestamp attribute on the port_info, too. Takashi ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/