snd_seq_block_mode

Name

snd_seq_block_mode -- set or reset the block behavior

Synopsis

int snd_seq_block_mode(snd_seq_t *handle, intenable);

Description

Enables block mode if mode is non-zero, or disables block mode if zero. In block mode, the client falls into sleep when it fills the output memory pool with full events. The client will be woken up after a certain amount of free space becomes available. See sequencer memory pool section for more details.

Function returns zero if successful, or an error code.