snd_seq_stop_queue

Name

snd_seq_stop_queue -- send a stop event to the queue

Synopsis

int snd_seq_stop_queue(snd_seq_t *handle, int q, snd_seq_event_t *ev);

Description

Stops the running queue q by sending a SND_SEQ_EVENT_CONTINUE event to timer port. This function invokes snd_seq_control_queue internally.

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