diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-04-17 20:46:11 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-04-18 02:00:36 -0400 |
commit | 7ba1c40b536e1c0df18d44af67ffa5a87a99f91c (patch) | |
tree | 402831a5b7b58262a2d8960a5f895b5df62f57ca /include/sound/asound.h | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 (diff) |
ALSA: Add definitions for CEA-861 Audio InfoFrames
Along with the IEC-60958 channel status word, CEA-861 Audio InfoFrames
are used in HDMI and DisplayPort to describe the parameters of the audio
stream. Hence, drivers for such devices may use these definitions to, for
instance, fill a CEA-861 data structure and pass it to a display driver
to configure an IP.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/asound.h')
-rw-r--r-- | include/sound/asound.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h index a2e4ff5ba9e9..0876a1e76aef 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h | |||
@@ -70,6 +70,20 @@ struct snd_aes_iec958 { | |||
70 | 70 | ||
71 | /**************************************************************************** | 71 | /**************************************************************************** |
72 | * * | 72 | * * |
73 | * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort * | ||
74 | * * | ||
75 | ****************************************************************************/ | ||
76 | |||
77 | struct snd_cea_861_aud_if { | ||
78 | unsigned char db1_ct_cc; /* coding type and channel count */ | ||
79 | unsigned char db2_sf_ss; /* sample frequency and size */ | ||
80 | unsigned char db3; /* not used, all zeros */ | ||
81 | unsigned char db4_ca; /* channel allocation code */ | ||
82 | unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */ | ||
83 | }; | ||
84 | |||
85 | /**************************************************************************** | ||
86 | * * | ||
73 | * Section for driver hardware dependent interface - /dev/snd/hw? * | 87 | * Section for driver hardware dependent interface - /dev/snd/hw? * |
74 | * * | 88 | * * |
75 | ****************************************************************************/ | 89 | ****************************************************************************/ |