Re: Set tick state in seq ?

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

 



Charles Fox wrote:
> The midiarp.c demo in the tutorial shows how to read the tick state,
> and how to get and set the tempo.   So I was expecting to find
> a function called something like  snd_seq_queue_set_tick , but there
> doesn't seem to be one in the API.

To set a queue's timer's position, send a message SND_SEQ_EVENT_SETPOS_TICK
and/or SND_SEQ_EVENT_SETPOS_TIME to the global timer port.

There are macros snd_seq_ev_set_queue_pos_tick() and
snd_seq_ev_set_queue_pos_real() to help you construct such messages.


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux