snd_seq_create_simple_port

Name

snd_seq_create_simple_port -- create a sequencer port

Synopsis

int snd_seq_create_simple_port(snd_seq_t *handle, char *name, unsigned intcaps, unsigned inttype);

Description

Creates a sequencer port on the current client with the given name, capabilities and type. This is a simple version of snd_seq_create_port without snd_seq_port_info structure. Returns the port id, zero or positive integer, if successful, or a negative value if an error occurs.

See Also

snd_seq_create_port