[alsa-devel] sending a sequencer event to a delayed queue

Clemens Ladisch clemens at ladisch.de
Mon Mar 12 09:21:14 CET 2012


Henning Thielemann wrote:
> On Sun, 11 Mar 2012, Clemens Ladisch wrote:
>> Yes; whether an event is delivered depends only on its scheduled time,
>> not whether the queue is running.
>
> That is, if the queue time is zero and the event time is zero, then
> the event is sent, independent of whether the queue is running or not.

Yes.

> Since we are at documentation. seq.h states:
>
> #define SND_SEQ_PORT_CAP_SYNC_READ    (1<<2)    /**< allow read subscriptions */
> #define SND_SEQ_PORT_CAP_SYNC_WRITE    (1<<3)    /**< allow write subscriptions */
> ...
> #define SND_SEQ_PORT_CAP_SUBS_READ    (1<<5)    /**< allow read subscription */
> #define SND_SEQ_PORT_CAP_SUBS_WRITE    (1<<6)    /**< allow write subscription */
>
> So are the comments for SYNC_READ and SYNC_WRITE correct?

No, they should say "obsolete; no effect".


Regards,
Clemens


More information about the Alsa-devel mailing list