ALSA: Drop __bitwise and typedefs for snd_device attributes
Using __bitwise and typedefs for the attributes of snd_device struct isn't so useful, and rather it worsens the readability. Let's drop them and use the straightforward enum. Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
@@ -59,7 +59,7 @@ void aoa_alsa_cleanup(void)
|
||||
}
|
||||
}
|
||||
|
||||
int aoa_snd_device_new(snd_device_type_t type,
|
||||
int aoa_snd_device_new(enum snd_device_type type,
|
||||
void * device_data, struct snd_device_ops * ops)
|
||||
{
|
||||
struct snd_card *card = aoa_get_card();
|
||||
|
新增問題並參考
封鎖使用者