|
Defines |
#define | SND_SEQ_PORT_SYSTEM_TIMER 0 /**< system timer port */ |
#define | SND_SEQ_PORT_SYSTEM_ANNOUNCE 1 /**< system announce port */ |
#define | SND_SEQ_PORT_CAP_READ (1<<0) /**< readable from this port */ |
#define | SND_SEQ_PORT_CAP_WRITE (1<<1) /**< writable to this port */ |
#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_DUPLEX (1<<4) /**< allow read/write duplex */ |
#define | SND_SEQ_PORT_CAP_SUBS_READ (1<<5) /**< allow read subscription */ |
#define | SND_SEQ_PORT_CAP_SUBS_WRITE (1<<6) /**< allow write subscription */ |
#define | SND_SEQ_PORT_CAP_NO_EXPORT (1<<7) /**< routing not allowed */ |
#define | SND_SEQ_PORT_TYPE_SPECIFIC (1<<0) /**< hardware specific */ |
#define | SND_SEQ_PORT_TYPE_MIDI_GENERIC (1<<1) /**< generic MIDI device */ |
#define | SND_SEQ_PORT_TYPE_MIDI_GM (1<<2) /**< General MIDI compatible device */ |
#define | SND_SEQ_PORT_TYPE_MIDI_GS (1<<3) /**< GS compatible device */ |
#define | SND_SEQ_PORT_TYPE_MIDI_XG (1<<4) /**< XG compatible device */ |
#define | SND_SEQ_PORT_TYPE_MIDI_MT32 (1<<5) /**< MT-32 compatible device */ |
#define | SND_SEQ_PORT_TYPE_SYNTH (1<<10) /**< Synth device */ |
#define | SND_SEQ_PORT_TYPE_DIRECT_SAMPLE (1<<11) /**< Sampling device (support sample download) */ |
#define | SND_SEQ_PORT_TYPE_SAMPLE (1<<12) /**< Sampling device (sample can be downloaded at any time) */ |
#define | SND_SEQ_PORT_TYPE_APPLICATION (1<<20) /**< application (sequencer/editor) */ |
#define | snd_seq_port_info_alloca(ptr) SND_ALLOCA(snd_seq_port_info, ptr) |
Typedefs |
typedef _snd_seq_port_info | snd_seq_port_info_t |
Functions |
size_t | snd_seq_port_info_sizeof (void) |
| get size of snd_seq_port_info_t
|
int | snd_seq_port_info_malloc (snd_seq_port_info_t **ptr) |
| allocate an empty snd_seq_port_info_t using standard malloc
|
void | snd_seq_port_info_free (snd_seq_port_info_t *ptr) |
| frees a previously allocated snd_seq_port_info_t
|
void | snd_seq_port_info_copy (snd_seq_port_info_t *dst, const snd_seq_port_info_t *src) |
| copy one snd_seq_port_info_t to another
|
int | snd_seq_port_info_get_client (const snd_seq_port_info_t *info) |
| Get client id of a port_info container.
|
int | snd_seq_port_info_get_port (const snd_seq_port_info_t *info) |
| Get port id of a port_info container.
|
const snd_seq_addr_t * | snd_seq_port_info_get_addr (const snd_seq_port_info_t *info) |
| Get client/port address of a port_info container.
|
const char * | snd_seq_port_info_get_name (const snd_seq_port_info_t *info) |
| Get the name of a port_info container.
|
unsigned int | snd_seq_port_info_get_capability (const snd_seq_port_info_t *info) |
| Get the capability bits of a port_info container.
|
unsigned int | snd_seq_port_info_get_type (const snd_seq_port_info_t *info) |
| Get the type bits of a port_info container.
|
int | snd_seq_port_info_get_midi_channels (const snd_seq_port_info_t *info) |
| Get the midi channels of a port_info container.
|
int | snd_seq_port_info_get_midi_voices (const snd_seq_port_info_t *info) |
| Get the midi voices of a port_info container.
|
int | snd_seq_port_info_get_synth_voices (const snd_seq_port_info_t *info) |
| Get the synth voices of a port_info container.
|
int | snd_seq_port_info_get_read_use (const snd_seq_port_info_t *info) |
| Get the number of read subscriptions of a port_info container.
|
int | snd_seq_port_info_get_write_use (const snd_seq_port_info_t *info) |
| Get the number of write subscriptions of a port_info container.
|
int | snd_seq_port_info_get_port_specified (const snd_seq_port_info_t *info) |
| Get the port-specified mode of a port_info container.
|
int | snd_seq_port_info_get_timestamping (const snd_seq_port_info_t *info) |
| Get the time-stamping mode of the given port in a port_info container.
|
int | snd_seq_port_info_get_timestamp_real (const snd_seq_port_info_t *info) |
| Get whether the time-stamping of the given port is real-time mode.
|
int | snd_seq_port_info_get_timestamp_queue (const snd_seq_port_info_t *info) |
| Get the queue id to update timestamps.
|
void | snd_seq_port_info_set_client (snd_seq_port_info_t *info, int client) |
| Set the client id of a port_info container.
|
void | snd_seq_port_info_set_port (snd_seq_port_info_t *info, int port) |
| Set the port id of a port_info container.
|
void | snd_seq_port_info_set_addr (snd_seq_port_info_t *info, const snd_seq_addr_t *addr) |
| Set the client/port address of a port_info container.
|
void | snd_seq_port_info_set_name (snd_seq_port_info_t *info, const char *name) |
| Set the name of a port_info container.
|
void | snd_seq_port_info_set_capability (snd_seq_port_info_t *info, unsigned int capability) |
| set the capability bits of a port_info container
|
void | snd_seq_port_info_set_type (snd_seq_port_info_t *info, unsigned int type) |
| Get the type bits of a port_info container.
|
void | snd_seq_port_info_set_midi_channels (snd_seq_port_info_t *info, int channels) |
| set the midi channels of a port_info container
|
void | snd_seq_port_info_set_midi_voices (snd_seq_port_info_t *info, int voices) |
| set the midi voices of a port_info container
|
void | snd_seq_port_info_set_synth_voices (snd_seq_port_info_t *info, int voices) |
| set the synth voices of a port_info container
|
void | snd_seq_port_info_set_port_specified (snd_seq_port_info_t *info, int val) |
| Set the port-specified mode of a port_info container.
|
void | snd_seq_port_info_set_timestamping (snd_seq_port_info_t *info, int enable) |
| Set the time-stamping mode of the given port.
|
void | snd_seq_port_info_set_timestamp_real (snd_seq_port_info_t *info, int realtime) |
| Set whether the timestime is updated in the real-time mode.
|
void | snd_seq_port_info_set_timestamp_queue (snd_seq_port_info_t *info, int queue) |
| Set the queue id for timestamping.
|
int | snd_seq_create_port (snd_seq_t *handle, snd_seq_port_info_t *info) |
| create a sequencer port on the current client
|
int | snd_seq_delete_port (snd_seq_t *handle, int port) |
| delete a sequencer port on the current client
|
int | snd_seq_get_port_info (snd_seq_t *handle, int port, snd_seq_port_info_t *info) |
| obtain the information of a port on the current client
|
int | snd_seq_get_any_port_info (snd_seq_t *handle, int client, int port, snd_seq_port_info_t *info) |
| obtain the information of a port on an arbitrary client
|
int | snd_seq_set_port_info (snd_seq_t *handle, int port, snd_seq_port_info_t *info) |
| set the information of a port on the current client
|
int | snd_seq_query_next_port (snd_seq_t *handle, snd_seq_port_info_t *info) |
| query the next matching port
|