mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Remove enum from kernel API
Remove enum in structs from kernel API headers. The enum is not always equivalent with int on some architectures. From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
This commit is contained in:
parent
f9e0c56c46
commit
06e3df0549
3 changed files with 21 additions and 21 deletions
|
|
@ -317,7 +317,7 @@ struct sndrv_seq_ev_sample_control {
|
|||
struct sndrv_seq_ev_sample sample;
|
||||
struct sndrv_seq_ev_cluster cluster;
|
||||
sndrv_seq_position_t position;
|
||||
enum sndrv_seq_stop_mode stop_mode;
|
||||
int stop_mode;
|
||||
sndrv_seq_frequency_t frequency;
|
||||
struct sndrv_seq_ev_volume volume;
|
||||
struct sndrv_seq_ev_loop loop;
|
||||
|
|
@ -521,7 +521,7 @@ enum sndrv_seq_client_type {
|
|||
|
||||
struct sndrv_seq_client_info {
|
||||
int client; /* client number to inquire */
|
||||
enum sndrv_seq_client_type type; /* client type */
|
||||
int type; /* client type */
|
||||
char name[64]; /* client name */
|
||||
unsigned int filter; /* filter flags */
|
||||
unsigned char multicast_filter[8]; /* multicast filter bitmap */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue