
3 Jun
2009
3 Jun
'09
6:02 p.m.
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