From: Clemens Ladisch <clemens@ladisch.de>
To: Glyn Adgie <glyn@castro-design.co.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: Sequencer timestamps for soft synth app
Date: Wed, 03 Jun 2009 17:02:01 +0200 [thread overview]
Message-ID: <4A269069.2000506@ladisch.de> (raw)
In-Reply-To: <4A263A89.9020307@castro-design.co.uk>
Glyn Adgie wrote:
> I cannot find an ALSA function for getting a timestamp.
If you have a running queue, you can get timestamped events delivered to
your port by enabling it with snd_seq_port_info_set_timestamping() and
snd_seq_port_info_set_timestamp_queue(). (The events don't actually
need to come through that queue.) See the source code of arecordmidi.
HTH
Clemens
prev parent reply other threads:[~2009-06-03 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 8:55 Sequencer timestamps for soft synth app Glyn Adgie
2009-06-03 15:02 ` Clemens Ladisch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A269069.2000506@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=glyn@castro-design.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox