[alsa-devel] Sequencer timestamps for soft synth app

Clemens Ladisch clemens at ladisch.de
Wed Jun 3 17:02:01 CEST 2009

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.


More information about the Alsa-devel mailing list