diff options
author | Pawel MOLL <pawel.moll@st.com> | 2008-02-29 06:41:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:19 -0400 |
commit | fd6640fa2d8b5f5f471aad5abd8ce5d6995df563 (patch) | |
tree | 96e8c87681aa76846a8b6131bac060dd3a443563 /include/sound/asoundef.h | |
parent | 52fe0f9d59cf4f5842bd319e4f212f907abd2e5d (diff) |
[ALSA] IEC958 definitions for consumer status channel, byte 4
Added definition for byte 4 of SPDIF channel status, according to
second edition of IEC 60958-3 (consumer) spec.
Signed-off-by: Pawel MOLL <pawel.moll@st.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/asoundef.h')
-rw-r--r-- | include/sound/asoundef.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/asoundef.h b/include/sound/asoundef.h index 024ce62f7d16..a6e0facf8a37 100644 --- a/include/sound/asoundef.h +++ b/include/sound/asoundef.h | |||
@@ -112,6 +112,14 @@ | |||
112 | #define IEC958_AES3_CON_CLOCK_1000PPM (0<<4) /* 1000 ppm */ | 112 | #define IEC958_AES3_CON_CLOCK_1000PPM (0<<4) /* 1000 ppm */ |
113 | #define IEC958_AES3_CON_CLOCK_50PPM (1<<4) /* 50 ppm */ | 113 | #define IEC958_AES3_CON_CLOCK_50PPM (1<<4) /* 50 ppm */ |
114 | #define IEC958_AES3_CON_CLOCK_VARIABLE (2<<4) /* variable pitch */ | 114 | #define IEC958_AES3_CON_CLOCK_VARIABLE (2<<4) /* variable pitch */ |
115 | #define IEC958_AES4_CON_MAX_WORDLEN_24 (1<<0) /* 0 = 20-bit, 1 = 24-bit */ | ||
116 | #define IEC958_AES4_CON_WORDLEN (7<<1) /* mask - sample word length */ | ||
117 | #define IEC958_AES4_CON_WORDLEN_NOTID (0<<1) /* not indicated */ | ||
118 | #define IEC958_AES4_CON_WORDLEN_20_16 (1<<1) /* 20-bit or 16-bit */ | ||
119 | #define IEC958_AES4_CON_WORDLEN_22_18 (2<<1) /* 22-bit or 18-bit */ | ||
120 | #define IEC958_AES4_CON_WORDLEN_23_19 (4<<1) /* 23-bit or 19-bit */ | ||
121 | #define IEC958_AES4_CON_WORDLEN_24_20 (5<<1) /* 24-bit or 20-bit */ | ||
122 | #define IEC958_AES4_CON_WORDLEN_21_17 (6<<1) /* 21-bit or 17-bit */ | ||
115 | 123 | ||
116 | /***************************************************************************** | 124 | /***************************************************************************** |
117 | * * | 125 | * * |