snd_seq_start_queue

Name

snd_seq_start_queue -- send a start event to the queue

Synopsis

int snd_seq_start_queue(snd_seq_t *seq, int q, snd_seq_event_t *ev);

Description

Starts the queue q by sending a SND_SEQ_EVENT_START event to timer port. This function invokes snd_seq_control_queue internally.

If the running queue is started again, the whole scheduled events on this queue are removed, and the timer is reset to zero.

If ev argument is NULL, a temporary event record is used and delivered immediately. Otherwise, the given event record is used and its flags are evaluated.

Function returns zero if successful, or a negative error code.

See Also

snd_seq_control_queue