29 |
#include <sound/asound.h> |
#include <sound/asound.h> |
30 |
|
|
31 |
/** version of the sequencer */ |
/** version of the sequencer */ |
32 |
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 0) |
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1) |
33 |
|
|
34 |
/** |
/** |
35 |
* definition of sequencer event types |
* definition of sequencer event types |
57 |
#define SNDRV_SEQ_EVENT_CHANPRESS 12 |
#define SNDRV_SEQ_EVENT_CHANPRESS 12 |
58 |
#define SNDRV_SEQ_EVENT_PITCHBEND 13 /**< from -8192 to 8191 */ |
#define SNDRV_SEQ_EVENT_PITCHBEND 13 /**< from -8192 to 8191 */ |
59 |
#define SNDRV_SEQ_EVENT_CONTROL14 14 /**< 14 bit controller value */ |
#define SNDRV_SEQ_EVENT_CONTROL14 14 /**< 14 bit controller value */ |
60 |
#define SNDRV_SEQ_EVENT_NONREGPARAM 15 /**< 14 bit NRPN */ |
#define SNDRV_SEQ_EVENT_NONREGPARAM 15 /**< 14 bit NRPN address + 14 bit unsigned value */ |
61 |
#define SNDRV_SEQ_EVENT_REGPARAM 16 /**< 14 bit RPN */ |
#define SNDRV_SEQ_EVENT_REGPARAM 16 /**< 14 bit RPN address + 14 bit unsigned value */ |
62 |
|
|
63 |
/** synchronisation messages |
/** synchronisation messages |
64 |
* event data type = #sndrv_seq_ev_ctrl |
* event data type = #sndrv_seq_ev_ctrl |
604 |
|
|
605 |
/* misc. conditioning flags */ |
/* misc. conditioning flags */ |
606 |
#define SNDRV_SEQ_PORT_FLG_GIVEN_PORT (1<<0) |
#define SNDRV_SEQ_PORT_FLG_GIVEN_PORT (1<<0) |
607 |
|
#define SNDRV_SEQ_PORT_FLG_TIMESTAMP (1<<1) |
608 |
|
#define SNDRV_SEQ_PORT_FLG_TIME_REAL (1<<1) |
609 |
|
|
610 |
struct sndrv_seq_port_info { |
struct sndrv_seq_port_info { |
611 |
struct sndrv_seq_addr addr; /* client/port numbers */ |
struct sndrv_seq_addr addr; /* client/port numbers */ |
622 |
|
|
623 |
void *kernel; /* reserved for kernel use (must be NULL) */ |
void *kernel; /* reserved for kernel use (must be NULL) */ |
624 |
unsigned int flags; /* misc. conditioning */ |
unsigned int flags; /* misc. conditioning */ |
625 |
char reserved[60]; /* for future use */ |
unsigned char time_queue; /* queue # for timestamping */ |
626 |
|
char reserved[59]; /* for future use */ |
627 |
}; |
}; |
628 |
|
|
629 |
|
|