Lines Matching +full:aac +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Advanced Linux Sound Architecture - ALSA - Driver
7 * Copyright (c) 1994-2000 by Jaroslav Kysela <perex@perex.cz>
18 #define IEC958_AES0_NONAUDIO (1<<1) /* 0 = audio, 1 = non-audio */
19 #define IEC958_AES0_PRO_EMPHASIS (7<<2) /* mask - emphasis */
25 #define IEC958_AES0_PRO_FS (3<<6) /* mask - sample frequency */
31 #define IEC958_AES0_CON_EMPHASIS (7<<3) /* mask - emphasis */
34 #define IEC958_AES0_CON_MODE (3<<6) /* mask - mode */
35 #define IEC958_AES1_PRO_MODE (15<<0) /* mask - channel mode */
37 #define IEC958_AES1_PRO_MODE_STEREOPHONIC (2<<0) /* stereophonic - ch A is left */
42 #define IEC958_AES1_PRO_USERBITS (15<<4) /* mask - user bits */
44 #define IEC958_AES1_PRO_USERBITS_192 (8<<4) /* 192-bit structure */
99 #define IEC958_AES2_PRO_SBITS (7<<0) /* mask - sample bits */
100 #define IEC958_AES2_PRO_SBITS_20 (2<<0) /* 20-bit - coordination */
101 #define IEC958_AES2_PRO_SBITS_24 (4<<0) /* 24-bit - main audio */
103 #define IEC958_AES2_PRO_WORDLEN (7<<3) /* mask - source word length */
105 #define IEC958_AES2_PRO_WORDLEN_22_18 (2<<3) /* 22-bit or 18-bit */
106 #define IEC958_AES2_PRO_WORDLEN_23_19 (4<<3) /* 23-bit or 19-bit */
107 #define IEC958_AES2_PRO_WORDLEN_24_20 (5<<3) /* 24-bit or 20-bit */
108 #define IEC958_AES2_PRO_WORDLEN_20_16 (6<<3) /* 20-bit or 16-bit */
109 #define IEC958_AES2_CON_SOURCE (15<<0) /* mask - source number */
111 #define IEC958_AES2_CON_CHANNEL (15<<4) /* mask - channel number */
113 #define IEC958_AES3_CON_FS (15<<0) /* mask - sample frequency */
125 #define IEC958_AES3_CON_CLOCK (3<<4) /* mask - clock accuracy */
129 #define IEC958_AES4_CON_MAX_WORDLEN_24 (1<<0) /* 0 = 20-bit, 1 = 24-bit */
130 #define IEC958_AES4_CON_WORDLEN (7<<1) /* mask - sample word length */
132 #define IEC958_AES4_CON_WORDLEN_20_16 (1<<1) /* 20-bit or 16-bit */
133 #define IEC958_AES4_CON_WORDLEN_22_18 (2<<1) /* 22-bit or 18-bit */
134 #define IEC958_AES4_CON_WORDLEN_23_19 (4<<1) /* 23-bit or 19-bit */
135 #define IEC958_AES4_CON_WORDLEN_24_20 (5<<1) /* 24-bit or 20-bit */
136 #define IEC958_AES4_CON_WORDLEN_21_17 (6<<1) /* 21-bit or 17-bit */
137 #define IEC958_AES4_CON_ORIGFS (15<<4) /* mask - original sample frequency */
152 #define IEC958_AES5_CON_CGMSA (3<<0) /* mask - CGMS-A */
160 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
163 #define CEA861_AUDIO_INFOFRAME_DB1CC (7<<0) /* mask - channel count */
164 #define CEA861_AUDIO_INFOFRAME_DB1CT (0xf<<4) /* mask - coding type */
166 #define CEA861_AUDIO_INFOFRAME_DB1CT_IEC60958 (1<<4) /* IEC-60958 L-PCM */
167 #define CEA861_AUDIO_INFOFRAME_DB1CT_AC3 (2<<4) /* AC-3 */
171 #define CEA861_AUDIO_INFOFRAME_DB1CT_AAC (6<<4) /* AAC */
176 #define CEA861_AUDIO_INFOFRAME_DB1CT_DTS_HD (11<<4) /* DTS-HD */
180 #define CEA861_AUDIO_INFOFRAME_DB2SF (7<<2) /* mask - sample frequency */
189 #define CEA861_AUDIO_INFOFRAME_DB2SS (3<<0) /* mask - sample size */
194 #define CEA861_AUDIO_INFOFRAME_DB5_DM_INH (1<<7) /* mask - inhibit downmixing */
197 #define CEA861_AUDIO_INFOFRAME_DB5_LSV (0xf<<3) /* mask - level-shift values */
206 #define MIDI_GM_DRUM_CHANNEL (10-1)