Re: Set tick state in seq ?

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

 



Charles Fox wrote:
> So I have to construct of these events then pass it to the timer at 0:0 ?

Yes, but instead of 0:0, use SND_SEQ_CLIENT_SYSTEM and
SND_SEQ_PORT_SYSTEM_TIMER.

> why do we have  snd_seq_queue_tempo_set_tempo as a direct function on
> the queue to change tempo, but we have to send this event to a port to
> change position ?

That function sets a single field of the snd_seq_queue_tempo_t
container, which is used to initialize all properties of a queue's
tempo at once.  To set only the tempo itself, you would use the
SND_SEQ_EVENT_TEMPO message (or snd_seq_ev_set_queue_tempo()).


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