From: Shuah Khan Date: Thu, 11 Feb 2016 23:41:20 +0000 (-0200) Subject: [media] media: Add ALSA Media Controller function entities X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7a2eba12ff071dbc8e84ff4c2208d9f8bbb0046a;p=openwrt%2Fstaging%2Fblogic.git [media] media: Add ALSA Media Controller function entities Add ALSA Media Controller capture, playback, and mixer function entity defines. [mchehab@osg.samsung.com: fix a trivial merge conflict and start MEDIA_ENT_AUDIO_F from 3000] Signed-off-by: Shuah Khan Acked-by: Takashi Iwai Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index f53ede3efa2f..95e126edb1c3 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h @@ -87,6 +87,13 @@ struct media_device_info { #define MEDIA_ENT_F_IF_VID_DECODER (MEDIA_ENT_F_BASE + 2001) #define MEDIA_ENT_F_IF_AUD_DECODER (MEDIA_ENT_F_BASE + 2002) +/* + * Audio Entity Functions + */ +#define MEDIA_ENT_F_AUDIO_CAPTURE (MEDIA_ENT_F_BASE + 3000) +#define MEDIA_ENT_F_AUDIO_PLAYBACK (MEDIA_ENT_F_BASE + 3001) +#define MEDIA_ENT_F_AUDIO_MIXER (MEDIA_ENT_F_BASE + 3002) + /* * Connectors */