Re: Sequencer timestamps for soft synth app

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux