Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
asequencer.h File Reference

Go to the source code of this file.

Data Structures

struct  snd_seq_addr
 
struct  snd_seq_connect
 
struct  snd_seq_ev_note
 
struct  snd_seq_ev_ctrl
 
struct  snd_seq_ev_raw8
 
struct  snd_seq_ev_raw32
 
struct  snd_seq_ev_ext
 
struct  snd_seq_result
 
struct  snd_seq_real_time
 
union  snd_seq_timestamp
 
struct  snd_seq_queue_skew
 
struct  snd_seq_ev_queue_control
 
struct  snd_seq_ev_quote
 
struct  snd_seq_event
 
struct  snd_seq_event_bounce
 
struct  snd_seq_system_info
 
struct  snd_seq_running_info
 
struct  snd_seq_client_info
 
struct  snd_seq_client_pool
 
struct  snd_seq_remove_events
 
struct  snd_seq_port_info
 
struct  snd_seq_queue_info
 
struct  snd_seq_queue_status
 
struct  snd_seq_queue_tempo
 
struct  snd_seq_queue_timer
 
struct  snd_seq_queue_client
 
struct  snd_seq_port_subscribe
 
struct  snd_seq_query_subs
 

Macros

#define SNDRV_SEQ_VERSION   SNDRV_PROTOCOL_VERSION (1, 0, 1)
 
#define SNDRV_SEQ_EVENT_SYSTEM   0
 
#define SNDRV_SEQ_EVENT_RESULT   1
 
#define SNDRV_SEQ_EVENT_NOTE   5
 
#define SNDRV_SEQ_EVENT_NOTEON   6
 
#define SNDRV_SEQ_EVENT_NOTEOFF   7
 
#define SNDRV_SEQ_EVENT_KEYPRESS   8
 
#define SNDRV_SEQ_EVENT_CONTROLLER   10
 
#define SNDRV_SEQ_EVENT_PGMCHANGE   11
 
#define SNDRV_SEQ_EVENT_CHANPRESS   12
 
#define SNDRV_SEQ_EVENT_PITCHBEND   13
 
#define SNDRV_SEQ_EVENT_CONTROL14   14
 
#define SNDRV_SEQ_EVENT_NONREGPARAM   15
 
#define SNDRV_SEQ_EVENT_REGPARAM   16
 
#define SNDRV_SEQ_EVENT_SONGPOS   20 /* Song Position Pointer with LSB and MSB values */
 
#define SNDRV_SEQ_EVENT_SONGSEL   21 /* Song Select with song ID number */
 
#define SNDRV_SEQ_EVENT_QFRAME   22 /* midi time code quarter frame */
 
#define SNDRV_SEQ_EVENT_TIMESIGN   23 /* SMF Time Signature event */
 
#define SNDRV_SEQ_EVENT_KEYSIGN   24 /* SMF Key Signature event */
 
#define SNDRV_SEQ_EVENT_START   30 /* midi Real Time Start message */
 
#define SNDRV_SEQ_EVENT_CONTINUE   31 /* midi Real Time Continue message */
 
#define SNDRV_SEQ_EVENT_STOP   32 /* midi Real Time Stop message */
 
#define SNDRV_SEQ_EVENT_SETPOS_TICK   33 /* set tick queue position */
 
#define SNDRV_SEQ_EVENT_SETPOS_TIME   34 /* set realtime queue position */
 
#define SNDRV_SEQ_EVENT_TEMPO   35 /* (SMF) Tempo event */
 
#define SNDRV_SEQ_EVENT_CLOCK   36 /* midi Real Time Clock message */
 
#define SNDRV_SEQ_EVENT_TICK   37 /* midi Real Time Tick message */
 
#define SNDRV_SEQ_EVENT_QUEUE_SKEW   38 /* skew queue tempo */
 
#define SNDRV_SEQ_EVENT_TUNE_REQUEST   40 /* tune request */
 
#define SNDRV_SEQ_EVENT_RESET   41 /* reset to power-on state */
 
#define SNDRV_SEQ_EVENT_SENSING   42 /* "active sensing" event */
 
#define SNDRV_SEQ_EVENT_ECHO   50 /* echo event */
 
#define SNDRV_SEQ_EVENT_OSS   51 /* OSS raw event */
 
#define SNDRV_SEQ_EVENT_CLIENT_START   60 /* new client has connected */
 
#define SNDRV_SEQ_EVENT_CLIENT_EXIT   61 /* client has left the system */
 
#define SNDRV_SEQ_EVENT_CLIENT_CHANGE   62 /* client status/info has changed */
 
#define SNDRV_SEQ_EVENT_PORT_START   63 /* new port was created */
 
#define SNDRV_SEQ_EVENT_PORT_EXIT   64 /* port was deleted from system */
 
#define SNDRV_SEQ_EVENT_PORT_CHANGE   65 /* port status/info has changed */
 
#define SNDRV_SEQ_EVENT_PORT_SUBSCRIBED   66 /* ports connected */
 
#define SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED   67 /* ports disconnected */
 
#define SNDRV_SEQ_EVENT_USR0   90
 
#define SNDRV_SEQ_EVENT_USR1   91
 
#define SNDRV_SEQ_EVENT_USR2   92
 
#define SNDRV_SEQ_EVENT_USR3   93
 
#define SNDRV_SEQ_EVENT_USR4   94
 
#define SNDRV_SEQ_EVENT_USR5   95
 
#define SNDRV_SEQ_EVENT_USR6   96
 
#define SNDRV_SEQ_EVENT_USR7   97
 
#define SNDRV_SEQ_EVENT_USR8   98
 
#define SNDRV_SEQ_EVENT_USR9   99
 
#define SNDRV_SEQ_EVENT_SYSEX   130 /* system exclusive data (variable length) */
 
#define SNDRV_SEQ_EVENT_BOUNCE   131 /* error event */
 
#define SNDRV_SEQ_EVENT_USR_VAR0   135
 
#define SNDRV_SEQ_EVENT_USR_VAR1   136
 
#define SNDRV_SEQ_EVENT_USR_VAR2   137
 
#define SNDRV_SEQ_EVENT_USR_VAR3   138
 
#define SNDRV_SEQ_EVENT_USR_VAR4   139
 
#define SNDRV_SEQ_EVENT_KERNEL_ERROR   150
 
#define SNDRV_SEQ_EVENT_KERNEL_QUOTE   151 /* obsolete */
 
#define SNDRV_SEQ_EVENT_NONE   255
 
#define SNDRV_SEQ_ADDRESS_UNKNOWN   253 /* unknown source */
 
#define SNDRV_SEQ_ADDRESS_SUBSCRIBERS   254 /* send event to all subscribed ports */
 
#define SNDRV_SEQ_ADDRESS_BROADCAST   255 /* send event to all queues/clients/ports/channels */
 
#define SNDRV_SEQ_QUEUE_DIRECT   253 /* direct dispatch */
 
#define SNDRV_SEQ_TIME_STAMP_TICK   (0<<0) /* timestamp in clock ticks */
 
#define SNDRV_SEQ_TIME_STAMP_REAL   (1<<0) /* timestamp in real time */
 
#define SNDRV_SEQ_TIME_STAMP_MASK   (1<<0)
 
#define SNDRV_SEQ_TIME_MODE_ABS   (0<<1) /* absolute timestamp */
 
#define SNDRV_SEQ_TIME_MODE_REL   (1<<1) /* relative to current time */
 
#define SNDRV_SEQ_TIME_MODE_MASK   (1<<1)
 
#define SNDRV_SEQ_EVENT_LENGTH_FIXED   (0<<2) /* fixed event size */
 
#define SNDRV_SEQ_EVENT_LENGTH_VARIABLE   (1<<2) /* variable event size */
 
#define SNDRV_SEQ_EVENT_LENGTH_VARUSR   (2<<2) /* variable event size - user memory space */
 
#define SNDRV_SEQ_EVENT_LENGTH_MASK   (3<<2)
 
#define SNDRV_SEQ_PRIORITY_NORMAL   (0<<4) /* normal priority */
 
#define SNDRV_SEQ_PRIORITY_HIGH   (1<<4) /* event should be processed before others */
 
#define SNDRV_SEQ_PRIORITY_MASK   (1<<4)
 
#define SNDRV_SEQ_CLIENT_SYSTEM   0
 
#define SNDRV_SEQ_CLIENT_DUMMY   14 /* midi through */
 
#define SNDRV_SEQ_CLIENT_OSS   15 /* oss sequencer emulator */
 
#define NO_CLIENT   ((__force snd_seq_client_type_t) 0)
 
#define USER_CLIENT   ((__force snd_seq_client_type_t) 1)
 
#define KERNEL_CLIENT   ((__force snd_seq_client_type_t) 2)
 
#define SNDRV_SEQ_FILTER_BROADCAST   (1<<0) /* accept broadcast messages */
 
#define SNDRV_SEQ_FILTER_MULTICAST   (1<<1) /* accept multicast messages */
 
#define SNDRV_SEQ_FILTER_BOUNCE   (1<<2) /* accept bounce event in error */
 
#define SNDRV_SEQ_FILTER_USE_EVENT   (1<<31) /* use event filter */
 
#define SNDRV_SEQ_REMOVE_INPUT   (1<<0) /* Flush input queues */
 
#define SNDRV_SEQ_REMOVE_OUTPUT   (1<<1) /* Flush output queues */
 
#define SNDRV_SEQ_REMOVE_DEST   (1<<2) /* Restrict by destination q:client:port */
 
#define SNDRV_SEQ_REMOVE_DEST_CHANNEL   (1<<3) /* Restrict by channel */
 
#define SNDRV_SEQ_REMOVE_TIME_BEFORE   (1<<4) /* Restrict to before time */
 
#define SNDRV_SEQ_REMOVE_TIME_AFTER   (1<<5) /* Restrict to time or after */
 
#define SNDRV_SEQ_REMOVE_TIME_TICK   (1<<6) /* Time is in ticks */
 
#define SNDRV_SEQ_REMOVE_EVENT_TYPE   (1<<7) /* Restrict to event type */
 
#define SNDRV_SEQ_REMOVE_IGNORE_OFF   (1<<8) /* Do not flush off events */
 
#define SNDRV_SEQ_REMOVE_TAG_MATCH   (1<<9) /* Restrict to events with given tag */
 
#define SNDRV_SEQ_PORT_SYSTEM_TIMER   0
 
#define SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE   1
 
#define SNDRV_SEQ_PORT_CAP_READ   (1<<0) /* readable from this port */
 
#define SNDRV_SEQ_PORT_CAP_WRITE   (1<<1) /* writable to this port */
 
#define SNDRV_SEQ_PORT_CAP_SYNC_READ   (1<<2)
 
#define SNDRV_SEQ_PORT_CAP_SYNC_WRITE   (1<<3)
 
#define SNDRV_SEQ_PORT_CAP_DUPLEX   (1<<4)
 
#define SNDRV_SEQ_PORT_CAP_SUBS_READ   (1<<5) /* allow read subscription */
 
#define SNDRV_SEQ_PORT_CAP_SUBS_WRITE   (1<<6) /* allow write subscription */
 
#define SNDRV_SEQ_PORT_CAP_NO_EXPORT   (1<<7) /* routing not allowed */
 
#define SNDRV_SEQ_PORT_TYPE_SPECIFIC   (1<<0) /* hardware specific */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC   (1<<1) /* generic MIDI device */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_GM   (1<<2) /* General MIDI compatible device */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_GS   (1<<3) /* GS compatible device */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_XG   (1<<4) /* XG compatible device */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_MT32   (1<<5) /* MT-32 compatible device */
 
#define SNDRV_SEQ_PORT_TYPE_MIDI_GM2   (1<<6) /* General MIDI 2 compatible device */
 
#define SNDRV_SEQ_PORT_TYPE_SYNTH   (1<<10) /* Synth device (no MIDI compatible - direct wavetable) */
 
#define SNDRV_SEQ_PORT_TYPE_DIRECT_SAMPLE   (1<<11) /* Sampling device (support sample download) */
 
#define SNDRV_SEQ_PORT_TYPE_SAMPLE   (1<<12) /* Sampling device (sample can be downloaded at any time) */
 
#define SNDRV_SEQ_PORT_TYPE_HARDWARE   (1<<16) /* driver for a hardware device */
 
#define SNDRV_SEQ_PORT_TYPE_SOFTWARE   (1<<17) /* implemented in software */
 
#define SNDRV_SEQ_PORT_TYPE_SYNTHESIZER   (1<<18) /* generates sound */
 
#define SNDRV_SEQ_PORT_TYPE_PORT   (1<<19) /* connects to other device(s) */
 
#define SNDRV_SEQ_PORT_TYPE_APPLICATION   (1<<20) /* application (sequencer/editor) */
 
#define SNDRV_SEQ_PORT_FLG_GIVEN_PORT   (1<<0)
 
#define SNDRV_SEQ_PORT_FLG_TIMESTAMP   (1<<1)
 
#define SNDRV_SEQ_PORT_FLG_TIME_REAL   (1<<2)
 
#define SNDRV_SEQ_QUEUE_FLG_SYNC   (1<<0) /* sync enabled */
 
#define SNDRV_SEQ_TIMER_ALSA   0 /* ALSA timer */
 
#define SNDRV_SEQ_TIMER_MIDI_CLOCK   1 /* Midi Clock (CLOCK event) */
 
#define SNDRV_SEQ_TIMER_MIDI_TICK   2 /* Midi Timer Tick (TICK event) */
 
#define SNDRV_SEQ_PORT_SUBS_EXCLUSIVE   (1<<0) /* exclusive connection */
 
#define SNDRV_SEQ_PORT_SUBS_TIMESTAMP   (1<<1)
 
#define SNDRV_SEQ_PORT_SUBS_TIME_REAL   (1<<2)
 
#define SNDRV_SEQ_QUERY_SUBS_READ   0
 
#define SNDRV_SEQ_QUERY_SUBS_WRITE   1
 
#define SNDRV_SEQ_IOCTL_PVERSION   _IOR ('S', 0x00, int)
 
#define SNDRV_SEQ_IOCTL_CLIENT_ID   _IOR ('S', 0x01, int)
 
#define SNDRV_SEQ_IOCTL_SYSTEM_INFO   _IOWR('S', 0x02, struct snd_seq_system_info)
 
#define SNDRV_SEQ_IOCTL_RUNNING_MODE   _IOWR('S', 0x03, struct snd_seq_running_info)
 
#define SNDRV_SEQ_IOCTL_GET_CLIENT_INFO   _IOWR('S', 0x10, struct snd_seq_client_info)
 
#define SNDRV_SEQ_IOCTL_SET_CLIENT_INFO   _IOW ('S', 0x11, struct snd_seq_client_info)
 
#define SNDRV_SEQ_IOCTL_CREATE_PORT   _IOWR('S', 0x20, struct snd_seq_port_info)
 
#define SNDRV_SEQ_IOCTL_DELETE_PORT   _IOW ('S', 0x21, struct snd_seq_port_info)
 
#define SNDRV_SEQ_IOCTL_GET_PORT_INFO   _IOWR('S', 0x22, struct snd_seq_port_info)
 
#define SNDRV_SEQ_IOCTL_SET_PORT_INFO   _IOW ('S', 0x23, struct snd_seq_port_info)
 
#define SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT   _IOW ('S', 0x30, struct snd_seq_port_subscribe)
 
#define SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT   _IOW ('S', 0x31, struct snd_seq_port_subscribe)
 
#define SNDRV_SEQ_IOCTL_CREATE_QUEUE   _IOWR('S', 0x32, struct snd_seq_queue_info)
 
#define SNDRV_SEQ_IOCTL_DELETE_QUEUE   _IOW ('S', 0x33, struct snd_seq_queue_info)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_INFO   _IOWR('S', 0x34, struct snd_seq_queue_info)
 
#define SNDRV_SEQ_IOCTL_SET_QUEUE_INFO   _IOWR('S', 0x35, struct snd_seq_queue_info)
 
#define SNDRV_SEQ_IOCTL_GET_NAMED_QUEUE   _IOWR('S', 0x36, struct snd_seq_queue_info)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS   _IOWR('S', 0x40, struct snd_seq_queue_status)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO   _IOWR('S', 0x41, struct snd_seq_queue_tempo)
 
#define SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO   _IOW ('S', 0x42, struct snd_seq_queue_tempo)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_OWNER   _IOWR('S', 0x43, struct snd_seq_queue_owner)
 
#define SNDRV_SEQ_IOCTL_SET_QUEUE_OWNER   _IOW ('S', 0x44, struct snd_seq_queue_owner)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_TIMER   _IOWR('S', 0x45, struct snd_seq_queue_timer)
 
#define SNDRV_SEQ_IOCTL_SET_QUEUE_TIMER   _IOW ('S', 0x46, struct snd_seq_queue_timer)
 
#define SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT   _IOWR('S', 0x49, struct snd_seq_queue_client)
 
#define SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT   _IOW ('S', 0x4a, struct snd_seq_queue_client)
 
#define SNDRV_SEQ_IOCTL_GET_CLIENT_POOL   _IOWR('S', 0x4b, struct snd_seq_client_pool)
 
#define SNDRV_SEQ_IOCTL_SET_CLIENT_POOL   _IOW ('S', 0x4c, struct snd_seq_client_pool)
 
#define SNDRV_SEQ_IOCTL_REMOVE_EVENTS   _IOW ('S', 0x4e, struct snd_seq_remove_events)
 
#define SNDRV_SEQ_IOCTL_QUERY_SUBS   _IOWR('S', 0x4f, struct snd_seq_query_subs)
 
#define SNDRV_SEQ_IOCTL_GET_SUBSCRIPTION   _IOWR('S', 0x50, struct snd_seq_port_subscribe)
 
#define SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT   _IOWR('S', 0x51, struct snd_seq_client_info)
 
#define SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT   _IOWR('S', 0x52, struct snd_seq_port_info)
 

Typedefs

typedef unsigned char snd_seq_event_type_t
 
typedef unsigned int snd_seq_tick_time_t
 
typedef int __bitwise snd_seq_client_type_t
 

Functions

struct snd_seq_ev_ext __attribute__ ((packed))
 

Variables

unsigned int len
 
voidptr
 
struct snd_seq_result __attribute__
 
struct snd_seq_addr origin
 
unsigned short value
 
struct snd_seq_eventevent
 

Macro Definition Documentation

#define KERNEL_CLIENT   ((__force snd_seq_client_type_t) 2)

Definition at line 406 of file asequencer.h.

#define NO_CLIENT   ((__force snd_seq_client_type_t) 0)

Definition at line 404 of file asequencer.h.

#define SNDRV_SEQ_ADDRESS_BROADCAST   255 /* send event to all queues/clients/ports/channels */

Definition at line 174 of file asequencer.h.

#define SNDRV_SEQ_ADDRESS_SUBSCRIBERS   254 /* send event to all subscribed ports */

Definition at line 173 of file asequencer.h.

#define SNDRV_SEQ_ADDRESS_UNKNOWN   253 /* unknown source */

Definition at line 172 of file asequencer.h.

#define SNDRV_SEQ_CLIENT_DUMMY   14 /* midi through */

Definition at line 398 of file asequencer.h.

#define SNDRV_SEQ_CLIENT_OSS   15 /* oss sequencer emulator */

Definition at line 399 of file asequencer.h.

#define SNDRV_SEQ_CLIENT_SYSTEM   0

Definition at line 396 of file asequencer.h.

#define SNDRV_SEQ_EVENT_BOUNCE   131 /* error event */

Definition at line 137 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CHANPRESS   12

Definition at line 56 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CLIENT_CHANGE   62 /* client status/info has changed */

Definition at line 102 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CLIENT_EXIT   61 /* client has left the system */

Definition at line 101 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CLIENT_START   60 /* new client has connected */

system status messages (broadcast for subscribers) event data type = snd_seq_addr

Definition at line 100 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CLOCK   36 /* midi Real Time Clock message */

Definition at line 80 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CONTINUE   31 /* midi Real Time Continue message */

Definition at line 75 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CONTROL14   14

14 bit controller value

Definition at line 58 of file asequencer.h.

#define SNDRV_SEQ_EVENT_CONTROLLER   10

control messages (channel specific) event data type = snd_seq_ev_ctrl

Definition at line 54 of file asequencer.h.

#define SNDRV_SEQ_EVENT_ECHO   50 /* echo event */

echo back, kernel private messages event data type = any type

Definition at line 94 of file asequencer.h.

#define SNDRV_SEQ_EVENT_KERNEL_ERROR   150

Definition at line 146 of file asequencer.h.

#define SNDRV_SEQ_EVENT_KERNEL_QUOTE   151 /* obsolete */

Definition at line 147 of file asequencer.h.

#define SNDRV_SEQ_EVENT_KEYPRESS   8

Definition at line 49 of file asequencer.h.

#define SNDRV_SEQ_EVENT_KEYSIGN   24 /* SMF Key Signature event */

Definition at line 69 of file asequencer.h.

#define SNDRV_SEQ_EVENT_LENGTH_FIXED   (0<<2) /* fixed event size */

Definition at line 186 of file asequencer.h.

#define SNDRV_SEQ_EVENT_LENGTH_MASK   (3<<2)

Definition at line 189 of file asequencer.h.

#define SNDRV_SEQ_EVENT_LENGTH_VARIABLE   (1<<2) /* variable event size */

Definition at line 187 of file asequencer.h.

#define SNDRV_SEQ_EVENT_LENGTH_VARUSR   (2<<2) /* variable event size - user memory space */

Definition at line 188 of file asequencer.h.

#define SNDRV_SEQ_EVENT_NONE   255

Definition at line 154 of file asequencer.h.

#define SNDRV_SEQ_EVENT_NONREGPARAM   15

14 bit NRPN address + 14 bit unsigned value

Definition at line 59 of file asequencer.h.

#define SNDRV_SEQ_EVENT_NOTE   5

note messages (channel specific) event data type = snd_seq_ev_note

Definition at line 46 of file asequencer.h.

#define SNDRV_SEQ_EVENT_NOTEOFF   7

Definition at line 48 of file asequencer.h.

#define SNDRV_SEQ_EVENT_NOTEON   6

Definition at line 47 of file asequencer.h.

#define SNDRV_SEQ_EVENT_OSS   51 /* OSS raw event */

Definition at line 95 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PGMCHANGE   11

Definition at line 55 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PITCHBEND   13

from -8192 to 8191

Definition at line 57 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PORT_CHANGE   65 /* port status/info has changed */

Definition at line 105 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PORT_EXIT   64 /* port was deleted from system */

Definition at line 104 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PORT_START   63 /* new port was created */

Definition at line 103 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PORT_SUBSCRIBED   66 /* ports connected */

port connection changes event data type = snd_seq_connect

Definition at line 110 of file asequencer.h.

#define SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED   67 /* ports disconnected */

Definition at line 111 of file asequencer.h.

#define SNDRV_SEQ_EVENT_QFRAME   22 /* midi time code quarter frame */

Definition at line 67 of file asequencer.h.

#define SNDRV_SEQ_EVENT_QUEUE_SKEW   38 /* skew queue tempo */

Definition at line 82 of file asequencer.h.

#define SNDRV_SEQ_EVENT_REGPARAM   16

14 bit RPN address + 14 bit unsigned value

Definition at line 60 of file asequencer.h.

#define SNDRV_SEQ_EVENT_RESET   41 /* reset to power-on state */

Definition at line 88 of file asequencer.h.

#define SNDRV_SEQ_EVENT_RESULT   1

Definition at line 41 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SENSING   42 /* "active sensing" event */

Definition at line 89 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SETPOS_TICK   33 /* set tick queue position */

Definition at line 77 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SETPOS_TIME   34 /* set realtime queue position */

Definition at line 78 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SONGPOS   20 /* Song Position Pointer with LSB and MSB values */

synchronisation messages event data type = snd_seq_ev_ctrl

Definition at line 65 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SONGSEL   21 /* Song Select with song ID number */

Definition at line 66 of file asequencer.h.

#define SNDRV_SEQ_EVENT_START   30 /* midi Real Time Start message */

timer messages event data type = snd_seq_ev_queue_control

Definition at line 74 of file asequencer.h.

#define SNDRV_SEQ_EVENT_STOP   32 /* midi Real Time Stop message */

Definition at line 76 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SYSEX   130 /* system exclusive data (variable length) */

Definition at line 136 of file asequencer.h.

#define SNDRV_SEQ_EVENT_SYSTEM   0

definition of sequencer event types system messages event data type = snd_seq_result

Definition at line 40 of file asequencer.h.

#define SNDRV_SEQ_EVENT_TEMPO   35 /* (SMF) Tempo event */

Definition at line 79 of file asequencer.h.

#define SNDRV_SEQ_EVENT_TICK   37 /* midi Real Time Tick message */

Definition at line 81 of file asequencer.h.

#define SNDRV_SEQ_EVENT_TIMESIGN   23 /* SMF Time Signature event */

Definition at line 68 of file asequencer.h.

#define SNDRV_SEQ_EVENT_TUNE_REQUEST   40 /* tune request */

others event data type = none

Definition at line 87 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR0   90

user-defined events with fixed length event data type = any

Definition at line 118 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR1   91

Definition at line 119 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR2   92

Definition at line 120 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR3   93

Definition at line 121 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR4   94

Definition at line 122 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR5   95

Definition at line 123 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR6   96

Definition at line 124 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR7   97

Definition at line 125 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR8   98

Definition at line 126 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR9   99

Definition at line 127 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR_VAR0   135

Definition at line 139 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR_VAR1   136

Definition at line 140 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR_VAR2   137

Definition at line 141 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR_VAR3   138

Definition at line 142 of file asequencer.h.

#define SNDRV_SEQ_EVENT_USR_VAR4   139

Definition at line 143 of file asequencer.h.

#define SNDRV_SEQ_FILTER_BOUNCE   (1<<2) /* accept bounce event in error */

Definition at line 411 of file asequencer.h.

#define SNDRV_SEQ_FILTER_BROADCAST   (1<<0) /* accept broadcast messages */

Definition at line 409 of file asequencer.h.

#define SNDRV_SEQ_FILTER_MULTICAST   (1<<1) /* accept multicast messages */

Definition at line 410 of file asequencer.h.

#define SNDRV_SEQ_FILTER_USE_EVENT   (1<<31) /* use event filter */

Definition at line 412 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_CLIENT_ID   _IOR ('S', 0x01, int)

Definition at line 637 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_CREATE_PORT   _IOWR('S', 0x20, struct snd_seq_port_info)

Definition at line 644 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_CREATE_QUEUE   _IOWR('S', 0x32, struct snd_seq_queue_info)

Definition at line 652 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_DELETE_PORT   _IOW ('S', 0x21, struct snd_seq_port_info)

Definition at line 645 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_DELETE_QUEUE   _IOW ('S', 0x33, struct snd_seq_queue_info)

Definition at line 653 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_CLIENT_INFO   _IOWR('S', 0x10, struct snd_seq_client_info)

Definition at line 641 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_CLIENT_POOL   _IOWR('S', 0x4b, struct snd_seq_client_pool)

Definition at line 670 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_NAMED_QUEUE   _IOWR('S', 0x36, struct snd_seq_queue_info)

Definition at line 656 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_PORT_INFO   _IOWR('S', 0x22, struct snd_seq_port_info)

Definition at line 646 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT   _IOWR('S', 0x49, struct snd_seq_queue_client)

Definition at line 668 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_INFO   _IOWR('S', 0x34, struct snd_seq_queue_info)

Definition at line 654 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_OWNER   _IOWR('S', 0x43, struct snd_seq_queue_owner)

Definition at line 660 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS   _IOWR('S', 0x40, struct snd_seq_queue_status)

Definition at line 657 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO   _IOWR('S', 0x41, struct snd_seq_queue_tempo)

Definition at line 658 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_QUEUE_TIMER   _IOWR('S', 0x45, struct snd_seq_queue_timer)

Definition at line 662 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_GET_SUBSCRIPTION   _IOWR('S', 0x50, struct snd_seq_port_subscribe)

Definition at line 674 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_PVERSION   _IOR ('S', 0x00, int)

Definition at line 636 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT   _IOWR('S', 0x51, struct snd_seq_client_info)

Definition at line 675 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT   _IOWR('S', 0x52, struct snd_seq_port_info)

Definition at line 676 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_QUERY_SUBS   _IOWR('S', 0x4f, struct snd_seq_query_subs)

Definition at line 673 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_REMOVE_EVENTS   _IOW ('S', 0x4e, struct snd_seq_remove_events)

Definition at line 672 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_RUNNING_MODE   _IOWR('S', 0x03, struct snd_seq_running_info)

Definition at line 639 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_CLIENT_INFO   _IOW ('S', 0x11, struct snd_seq_client_info)

Definition at line 642 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_CLIENT_POOL   _IOW ('S', 0x4c, struct snd_seq_client_pool)

Definition at line 671 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_PORT_INFO   _IOW ('S', 0x23, struct snd_seq_port_info)

Definition at line 647 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT   _IOW ('S', 0x4a, struct snd_seq_queue_client)

Definition at line 669 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_QUEUE_INFO   _IOWR('S', 0x35, struct snd_seq_queue_info)

Definition at line 655 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_QUEUE_OWNER   _IOW ('S', 0x44, struct snd_seq_queue_owner)

Definition at line 661 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO   _IOW ('S', 0x42, struct snd_seq_queue_tempo)

Definition at line 659 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SET_QUEUE_TIMER   _IOW ('S', 0x46, struct snd_seq_queue_timer)

Definition at line 663 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT   _IOW ('S', 0x30, struct snd_seq_port_subscribe)

Definition at line 649 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_SYSTEM_INFO   _IOWR('S', 0x02, struct snd_seq_system_info)

Definition at line 638 of file asequencer.h.

#define SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT   _IOW ('S', 0x31, struct snd_seq_port_subscribe)

Definition at line 650 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_DUPLEX   (1<<4)

Definition at line 480 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_NO_EXPORT   (1<<7) /* routing not allowed */

Definition at line 484 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_READ   (1<<0) /* readable from this port */

Definition at line 474 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_SUBS_READ   (1<<5) /* allow read subscription */

Definition at line 482 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_SUBS_WRITE   (1<<6) /* allow write subscription */

Definition at line 483 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_SYNC_READ   (1<<2)

Definition at line 477 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_SYNC_WRITE   (1<<3)

Definition at line 478 of file asequencer.h.

#define SNDRV_SEQ_PORT_CAP_WRITE   (1<<1) /* writable to this port */

Definition at line 475 of file asequencer.h.

#define SNDRV_SEQ_PORT_FLG_GIVEN_PORT   (1<<0)

Definition at line 507 of file asequencer.h.

#define SNDRV_SEQ_PORT_FLG_TIME_REAL   (1<<2)

Definition at line 509 of file asequencer.h.

#define SNDRV_SEQ_PORT_FLG_TIMESTAMP   (1<<1)

Definition at line 508 of file asequencer.h.

#define SNDRV_SEQ_PORT_SUBS_EXCLUSIVE   (1<<0) /* exclusive connection */

Definition at line 602 of file asequencer.h.

#define SNDRV_SEQ_PORT_SUBS_TIME_REAL   (1<<2)

Definition at line 604 of file asequencer.h.

#define SNDRV_SEQ_PORT_SUBS_TIMESTAMP   (1<<1)

Definition at line 603 of file asequencer.h.

#define SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE   1

Definition at line 471 of file asequencer.h.

#define SNDRV_SEQ_PORT_SYSTEM_TIMER   0

Definition at line 470 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_APPLICATION   (1<<20) /* application (sequencer/editor) */

Definition at line 504 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_DIRECT_SAMPLE   (1<<11) /* Sampling device (support sample download) */

Definition at line 497 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_HARDWARE   (1<<16) /* driver for a hardware device */

Definition at line 500 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC   (1<<1) /* generic MIDI device */

Definition at line 488 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_GM   (1<<2) /* General MIDI compatible device */

Definition at line 489 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_GM2   (1<<6) /* General MIDI 2 compatible device */

Definition at line 493 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_GS   (1<<3) /* GS compatible device */

Definition at line 490 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_MT32   (1<<5) /* MT-32 compatible device */

Definition at line 492 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_MIDI_XG   (1<<4) /* XG compatible device */

Definition at line 491 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_PORT   (1<<19) /* connects to other device(s) */

Definition at line 503 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_SAMPLE   (1<<12) /* Sampling device (sample can be downloaded at any time) */

Definition at line 498 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_SOFTWARE   (1<<17) /* implemented in software */

Definition at line 501 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_SPECIFIC   (1<<0) /* hardware specific */

Definition at line 487 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_SYNTH   (1<<10) /* Synth device (no MIDI compatible - direct wavetable) */

Definition at line 496 of file asequencer.h.

#define SNDRV_SEQ_PORT_TYPE_SYNTHESIZER   (1<<18) /* generates sound */

Definition at line 502 of file asequencer.h.

#define SNDRV_SEQ_PRIORITY_HIGH   (1<<4) /* event should be processed before others */

Definition at line 192 of file asequencer.h.

#define SNDRV_SEQ_PRIORITY_MASK   (1<<4)

Definition at line 193 of file asequencer.h.

#define SNDRV_SEQ_PRIORITY_NORMAL   (0<<4) /* normal priority */

Definition at line 191 of file asequencer.h.

#define SNDRV_SEQ_QUERY_SUBS_READ   0

Definition at line 617 of file asequencer.h.

#define SNDRV_SEQ_QUERY_SUBS_WRITE   1

Definition at line 618 of file asequencer.h.

#define SNDRV_SEQ_QUEUE_DIRECT   253 /* direct dispatch */

Definition at line 175 of file asequencer.h.

#define SNDRV_SEQ_QUEUE_FLG_SYNC   (1<<0) /* sync enabled */

Definition at line 532 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_DEST   (1<<2) /* Restrict by destination q:client:port */

Definition at line 443 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_DEST_CHANNEL   (1<<3) /* Restrict by channel */

Definition at line 444 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_EVENT_TYPE   (1<<7) /* Restrict to event type */

Definition at line 448 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_IGNORE_OFF   (1<<8) /* Do not flush off events */

Definition at line 449 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_INPUT   (1<<0) /* Flush input queues */

Definition at line 441 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_OUTPUT   (1<<1) /* Flush output queues */

Definition at line 442 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_TAG_MATCH   (1<<9) /* Restrict to events with given tag */

Definition at line 450 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_TIME_AFTER   (1<<5) /* Restrict to time or after */

Definition at line 446 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_TIME_BEFORE   (1<<4) /* Restrict to before time */

Definition at line 445 of file asequencer.h.

#define SNDRV_SEQ_REMOVE_TIME_TICK   (1<<6) /* Time is in ticks */

Definition at line 447 of file asequencer.h.

#define SNDRV_SEQ_TIME_MODE_ABS   (0<<1) /* absolute timestamp */

Definition at line 182 of file asequencer.h.

#define SNDRV_SEQ_TIME_MODE_MASK   (1<<1)

Definition at line 184 of file asequencer.h.

#define SNDRV_SEQ_TIME_MODE_REL   (1<<1) /* relative to current time */

Definition at line 183 of file asequencer.h.

#define SNDRV_SEQ_TIME_STAMP_MASK   (1<<0)

Definition at line 180 of file asequencer.h.

#define SNDRV_SEQ_TIME_STAMP_REAL   (1<<0) /* timestamp in real time */

Definition at line 179 of file asequencer.h.

#define SNDRV_SEQ_TIME_STAMP_TICK   (0<<0) /* timestamp in clock ticks */

Definition at line 178 of file asequencer.h.

#define SNDRV_SEQ_TIMER_ALSA   0 /* ALSA timer */

Definition at line 574 of file asequencer.h.

#define SNDRV_SEQ_TIMER_MIDI_CLOCK   1 /* Midi Clock (CLOCK event) */

Definition at line 575 of file asequencer.h.

#define SNDRV_SEQ_TIMER_MIDI_TICK   2 /* Midi Timer Tick (TICK event) */

Definition at line 576 of file asequencer.h.

#define SNDRV_SEQ_VERSION   SNDRV_PROTOCOL_VERSION (1, 0, 1)

version of the sequencer

Definition at line 31 of file asequencer.h.

#define USER_CLIENT   ((__force snd_seq_client_type_t) 1)

Definition at line 405 of file asequencer.h.

Typedef Documentation

Definition at line 403 of file asequencer.h.

typedef unsigned char snd_seq_event_type_t

Definition at line 157 of file asequencer.h.

typedef unsigned int snd_seq_tick_time_t

Definition at line 240 of file asequencer.h.

Function Documentation

struct snd_seq_ev_ext __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 274 of file asequencer.h.

unsigned int len

Definition at line 228 of file asequencer.h.

Definition at line 272 of file asequencer.h.

void* ptr

Definition at line 229 of file asequencer.h.

unsigned short value

Definition at line 273 of file asequencer.h.