At Wed, 12 Dec 2001 02:43:39 -0500 (EST),
Ricardo Colon wrote:
> 
> The structure for sequencer events in ALSA 0.5.x is:
> 
> typedef struct snd_seq_event snd_seq_event_t;
> struct snd_seq_event {
>         snd_seq_event_type type;        /* event type */
>         unsigned char flags;            /* event flags */
>         char tag;                       /* arbitrary tag */
> 
>         unsigned char queue;            /* schedule queue */
>         snd_seq_timestamp_t time;       /* schedule time */
> 
> 
>         snd_seq_addr_t source;          /* source address */
>         snd_seq_addr_t dest;            /* destination address */
> 
>         union {                         /* event data... */
>                 snd_seq_ev_note note;
>                 snd_seq_ev_ctrl control;
>                 snd_seq_ev_raw8 raw8;
>                 snd_seq_ev_raw32 raw32;
>                 snd_seq_ev_ext ext;
>                 snd_seq_ev_ipcshm ipcshm;
>                 snd_seq_ev_queue_control_t queue;
>                 snd_seq_timestamp_t time;
>                 snd_seq_addr_t addr;
>                 snd_seq_result_t result;
>                 snd_seq_ev_instr_begin_t instr_begin;
>                 snd_seq_ev_sample_control_t sample;
>                 snd_seq_ev_quote_t quote;
>         } data;
> };
> 
> Can something please explain what raw8 and raw32 are? It's no where in the
> docs at all.

They are raw 8bit and 32bit arrays for arbitrary values.
You can use them e.g. in user-defined events (SND_SEQ_EVENT_USER*).


Takashi

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to