Commit 89485d49 authored by Daniel Mack's avatar Daniel Mack Committed by Takashi Iwai

ALSA: include/sound/asound.h whitespace fixups

This fixes some whitespace/indentation flaws I stumbled over.
Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a20971b2
...@@ -574,7 +574,7 @@ enum { ...@@ -574,7 +574,7 @@ enum {
#define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */ #define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */
struct snd_timer_id { struct snd_timer_id {
int dev_class; int dev_class;
int dev_sclass; int dev_sclass;
int card; int card;
int device; int device;
...@@ -762,7 +762,7 @@ struct snd_ctl_elem_id { ...@@ -762,7 +762,7 @@ struct snd_ctl_elem_id {
snd_ctl_elem_iface_t iface; /* interface identifier */ snd_ctl_elem_iface_t iface; /* interface identifier */
unsigned int device; /* device/client number */ unsigned int device; /* device/client number */
unsigned int subdevice; /* subdevice (substream) number */ unsigned int subdevice; /* subdevice (substream) number */
unsigned char name[44]; /* ASCII name of item */ unsigned char name[44]; /* ASCII name of item */
unsigned int index; /* index of item */ unsigned int index; /* index of item */
}; };
...@@ -809,7 +809,7 @@ struct snd_ctl_elem_info { ...@@ -809,7 +809,7 @@ struct snd_ctl_elem_info {
struct snd_ctl_elem_value { struct snd_ctl_elem_value {
struct snd_ctl_elem_id id; /* W: element ID */ struct snd_ctl_elem_id id; /* W: element ID */
unsigned int indirect: 1; /* W: indirect access - obsoleted */ unsigned int indirect: 1; /* W: indirect access - obsoleted */
union { union {
union { union {
long value[128]; long value[128];
long *value_ptr; /* obsoleted */ long *value_ptr; /* obsoleted */
...@@ -827,15 +827,15 @@ struct snd_ctl_elem_value { ...@@ -827,15 +827,15 @@ struct snd_ctl_elem_value {
unsigned char *data_ptr; /* obsoleted */ unsigned char *data_ptr; /* obsoleted */
} bytes; } bytes;
struct snd_aes_iec958 iec958; struct snd_aes_iec958 iec958;
} value; /* RO */ } value; /* RO */
struct timespec tstamp; struct timespec tstamp;
unsigned char reserved[128-sizeof(struct timespec)]; unsigned char reserved[128-sizeof(struct timespec)];
}; };
struct snd_ctl_tlv { struct snd_ctl_tlv {
unsigned int numid; /* control element numeric identification */ unsigned int numid; /* control element numeric identification */
unsigned int length; /* in bytes aligned to 4 */ unsigned int length; /* in bytes aligned to 4 */
unsigned int tlv[0]; /* first TLV */ unsigned int tlv[0]; /* first TLV */
}; };
#define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int) #define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int)
...@@ -886,8 +886,8 @@ struct snd_ctl_event { ...@@ -886,8 +886,8 @@ struct snd_ctl_event {
unsigned int mask; unsigned int mask;
struct snd_ctl_elem_id id; struct snd_ctl_elem_id id;
} elem; } elem;
unsigned char data8[60]; unsigned char data8[60];
} data; } data;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment