Re: [PATCH 2/5] ALSA: usb-audio: unify UAC macros and struct names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 16 Jun 2010 17:57:28 +0200,
Daniel Mack wrote:
> 
> diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h
> index c51200c..a54b825 100644
> --- a/include/linux/usb/audio.h
> +++ b/include/linux/usb/audio.h
> @@ -39,8 +39,8 @@
>  #define UAC_MIXER_UNIT			0x04
>  #define UAC_SELECTOR_UNIT		0x05
>  #define UAC_FEATURE_UNIT		0x06
> -#define UAC_PROCESSING_UNIT_V1		0x07
> -#define UAC_EXTENSION_UNIT_V1		0x08
> +#define UAC1_PROCESSING_UNIT		0x07
> +#define UAC1_EXTENSION_UNIT		0x08

So now we have mixed prefix here, UAC_ and UAC1_.
Isn't it a bit confusing, too?

Honestly, I have no much preference about this name-ruling.
But it's of course better if it's stabilized :)


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux