mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
added packed attribute to have a consistent event data size on
both 32 and 64bit modes.
This commit is contained in:
parent
b20beb55f7
commit
5541c7a31e
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ typedef struct snd_seq_ev_raw32 {
|
||||||
typedef struct snd_seq_ev_ext {
|
typedef struct snd_seq_ev_ext {
|
||||||
unsigned int len; /**< length of data */
|
unsigned int len; /**< length of data */
|
||||||
void *ptr; /**< pointer to data (note: can be 64-bit) */
|
void *ptr; /**< pointer to data (note: can be 64-bit) */
|
||||||
} snd_seq_ev_ext_t;
|
} __attribute__((packed)) snd_seq_ev_ext_t;
|
||||||
|
|
||||||
/** Instrument cluster type */
|
/** Instrument cluster type */
|
||||||
typedef unsigned int snd_seq_instr_cluster_t;
|
typedef unsigned int snd_seq_instr_cluster_t;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue