linux/include/sound/asoundef.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUND_ASOUNDEF_H
#define __SOUND_ASOUNDEF_H

/*
 *  Advanced Linux Sound Architecture - ALSA - Driver
 *  Copyright (c) 1994-2000 by Jaroslav Kysela <[email protected]>
 */

/****************************************************************************
 *                                                                          *
 *        Digital audio interface					    *
 *                                                                          *
 ****************************************************************************/

/* AES/IEC958 channel status bits */
#define IEC958_AES0_PROFESSIONAL
#define IEC958_AES0_NONAUDIO
#define IEC958_AES0_PRO_EMPHASIS
#define IEC958_AES0_PRO_EMPHASIS_NOTID
#define IEC958_AES0_PRO_EMPHASIS_NONE
#define IEC958_AES0_PRO_EMPHASIS_5015
#define IEC958_AES0_PRO_EMPHASIS_CCITT
#define IEC958_AES0_PRO_FREQ_UNLOCKED
#define IEC958_AES0_PRO_FS
#define IEC958_AES0_PRO_FS_NOTID
#define IEC958_AES0_PRO_FS_44100
#define IEC958_AES0_PRO_FS_48000
#define IEC958_AES0_PRO_FS_32000
#define IEC958_AES0_CON_NOT_COPYRIGHT
#define IEC958_AES0_CON_EMPHASIS
#define IEC958_AES0_CON_EMPHASIS_NONE
#define IEC958_AES0_CON_EMPHASIS_5015
#define IEC958_AES0_CON_MODE
#define IEC958_AES1_PRO_MODE
#define IEC958_AES1_PRO_MODE_NOTID
#define IEC958_AES1_PRO_MODE_STEREOPHONIC
#define IEC958_AES1_PRO_MODE_SINGLE
#define IEC958_AES1_PRO_MODE_TWO
#define IEC958_AES1_PRO_MODE_PRIMARY
#define IEC958_AES1_PRO_MODE_BYTE3
#define IEC958_AES1_PRO_USERBITS
#define IEC958_AES1_PRO_USERBITS_NOTID
#define IEC958_AES1_PRO_USERBITS_192
#define IEC958_AES1_PRO_USERBITS_UDEF
#define IEC958_AES1_CON_CATEGORY
#define IEC958_AES1_CON_GENERAL
#define IEC958_AES1_CON_LASEROPT_MASK
#define IEC958_AES1_CON_LASEROPT_ID
#define IEC958_AES1_CON_IEC908_CD
#define IEC958_AES1_CON_NON_IEC908_CD
#define IEC958_AES1_CON_MINI_DISC
#define IEC958_AES1_CON_DVD
#define IEC958_AES1_CON_LASTEROPT_OTHER
#define IEC958_AES1_CON_DIGDIGCONV_MASK
#define IEC958_AES1_CON_DIGDIGCONV_ID
#define IEC958_AES1_CON_PCM_CODER
#define IEC958_AES1_CON_MIXER
#define IEC958_AES1_CON_RATE_CONVERTER
#define IEC958_AES1_CON_SAMPLER
#define IEC958_AES1_CON_DSP
#define IEC958_AES1_CON_DIGDIGCONV_OTHER
#define IEC958_AES1_CON_MAGNETIC_MASK
#define IEC958_AES1_CON_MAGNETIC_ID
#define IEC958_AES1_CON_DAT
#define IEC958_AES1_CON_VCR
#define IEC958_AES1_CON_DCC
#define IEC958_AES1_CON_MAGNETIC_DISC
#define IEC958_AES1_CON_MAGNETIC_OTHER
#define IEC958_AES1_CON_BROADCAST1_MASK
#define IEC958_AES1_CON_BROADCAST1_ID
#define IEC958_AES1_CON_DAB_JAPAN
#define IEC958_AES1_CON_DAB_EUROPE
#define IEC958_AES1_CON_DAB_USA
#define IEC958_AES1_CON_SOFTWARE
#define IEC958_AES1_CON_IEC62105
#define IEC958_AES1_CON_BROADCAST1_OTHER
#define IEC958_AES1_CON_BROADCAST2_MASK
#define IEC958_AES1_CON_BROADCAST2_ID
#define IEC958_AES1_CON_MUSICAL_MASK
#define IEC958_AES1_CON_MUSICAL_ID
#define IEC958_AES1_CON_SYNTHESIZER
#define IEC958_AES1_CON_MICROPHONE
#define IEC958_AES1_CON_MUSICAL_OTHER
#define IEC958_AES1_CON_ADC_MASK
#define IEC958_AES1_CON_ADC_ID
#define IEC958_AES1_CON_ADC
#define IEC958_AES1_CON_ADC_OTHER
#define IEC958_AES1_CON_ADC_COPYRIGHT_MASK
#define IEC958_AES1_CON_ADC_COPYRIGHT_ID
#define IEC958_AES1_CON_ADC_COPYRIGHT
#define IEC958_AES1_CON_ADC_COPYRIGHT_OTHER
#define IEC958_AES1_CON_SOLIDMEM_MASK
#define IEC958_AES1_CON_SOLIDMEM_ID
#define IEC958_AES1_CON_SOLIDMEM_DIGITAL_RECORDER_PLAYER
#define IEC958_AES1_CON_SOLIDMEM_OTHER
#define IEC958_AES1_CON_EXPERIMENTAL
#define IEC958_AES1_CON_ORIGINAL
#define IEC958_AES2_PRO_SBITS
#define IEC958_AES2_PRO_SBITS_20
#define IEC958_AES2_PRO_SBITS_24
#define IEC958_AES2_PRO_SBITS_UDEF
#define IEC958_AES2_PRO_WORDLEN
#define IEC958_AES2_PRO_WORDLEN_NOTID
#define IEC958_AES2_PRO_WORDLEN_22_18
#define IEC958_AES2_PRO_WORDLEN_23_19
#define IEC958_AES2_PRO_WORDLEN_24_20
#define IEC958_AES2_PRO_WORDLEN_20_16
#define IEC958_AES2_CON_SOURCE
#define IEC958_AES2_CON_SOURCE_UNSPEC
#define IEC958_AES2_CON_CHANNEL
#define IEC958_AES2_CON_CHANNEL_UNSPEC
#define IEC958_AES3_CON_FS
#define IEC958_AES3_CON_FS_44100
#define IEC958_AES3_CON_FS_NOTID
#define IEC958_AES3_CON_FS_48000
#define IEC958_AES3_CON_FS_32000
#define IEC958_AES3_CON_FS_22050
#define IEC958_AES3_CON_FS_384000
#define IEC958_AES3_CON_FS_24000
#define IEC958_AES3_CON_FS_88200
#define IEC958_AES3_CON_FS_768000
#define IEC958_AES3_CON_FS_96000
#define IEC958_AES3_CON_FS_176400
#define IEC958_AES3_CON_FS_352400
#define IEC958_AES3_CON_FS_192000
#define IEC958_AES3_CON_FS_128000
#define IEC958_AES3_CON_FS_705600
#define IEC958_AES3_CON_CLOCK
#define IEC958_AES3_CON_CLOCK_1000PPM
#define IEC958_AES3_CON_CLOCK_50PPM
#define IEC958_AES3_CON_CLOCK_VARIABLE
#define IEC958_AES4_CON_MAX_WORDLEN_24
#define IEC958_AES4_CON_WORDLEN
#define IEC958_AES4_CON_WORDLEN_NOTID
#define IEC958_AES4_CON_WORDLEN_20_16
#define IEC958_AES4_CON_WORDLEN_22_18
#define IEC958_AES4_CON_WORDLEN_23_19
#define IEC958_AES4_CON_WORDLEN_24_20
#define IEC958_AES4_CON_WORDLEN_21_17
#define IEC958_AES4_CON_ORIGFS
#define IEC958_AES4_CON_ORIGFS_NOTID
#define IEC958_AES4_CON_ORIGFS_192000
#define IEC958_AES4_CON_ORIGFS_12000
#define IEC958_AES4_CON_ORIGFS_176400
#define IEC958_AES4_CON_ORIGFS_96000
#define IEC958_AES4_CON_ORIGFS_8000
#define IEC958_AES4_CON_ORIGFS_88200
#define IEC958_AES4_CON_ORIGFS_16000
#define IEC958_AES4_CON_ORIGFS_24000
#define IEC958_AES4_CON_ORIGFS_11025
#define IEC958_AES4_CON_ORIGFS_22050
#define IEC958_AES4_CON_ORIGFS_32000
#define IEC958_AES4_CON_ORIGFS_48000
#define IEC958_AES4_CON_ORIGFS_44100
#define IEC958_AES5_CON_CGMSA
#define IEC958_AES5_CON_CGMSA_COPYFREELY
#define IEC958_AES5_CON_CGMSA_COPYONCE
#define IEC958_AES5_CON_CGMSA_COPYNOMORE
#define IEC958_AES5_CON_CGMSA_COPYNEVER

/****************************************************************************
 *                                                                          *
 *        CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort		    *
 *                                                                          *
 ****************************************************************************/
#define CEA861_AUDIO_INFOFRAME_DB1CC
#define CEA861_AUDIO_INFOFRAME_DB1CT
#define CEA861_AUDIO_INFOFRAME_DB1CT_FROM_STREAM
#define CEA861_AUDIO_INFOFRAME_DB1CT_IEC60958
#define CEA861_AUDIO_INFOFRAME_DB1CT_AC3
#define CEA861_AUDIO_INFOFRAME_DB1CT_MPEG1
#define CEA861_AUDIO_INFOFRAME_DB1CT_MP3
#define CEA861_AUDIO_INFOFRAME_DB1CT_MPEG2_MULTICH
#define CEA861_AUDIO_INFOFRAME_DB1CT_AAC
#define CEA861_AUDIO_INFOFRAME_DB1CT_DTS
#define CEA861_AUDIO_INFOFRAME_DB1CT_ATRAC
#define CEA861_AUDIO_INFOFRAME_DB1CT_ONEBIT
#define CEA861_AUDIO_INFOFRAME_DB1CT_DOLBY_DIG_PLUS
#define CEA861_AUDIO_INFOFRAME_DB1CT_DTS_HD
#define CEA861_AUDIO_INFOFRAME_DB1CT_MAT
#define CEA861_AUDIO_INFOFRAME_DB1CT_DST
#define CEA861_AUDIO_INFOFRAME_DB1CT_WMA_PRO
#define CEA861_AUDIO_INFOFRAME_DB2SF
#define CEA861_AUDIO_INFOFRAME_DB2SF_FROM_STREAM
#define CEA861_AUDIO_INFOFRAME_DB2SF_32000
#define CEA861_AUDIO_INFOFRAME_DB2SF_44100
#define CEA861_AUDIO_INFOFRAME_DB2SF_48000
#define CEA861_AUDIO_INFOFRAME_DB2SF_88200
#define CEA861_AUDIO_INFOFRAME_DB2SF_96000
#define CEA861_AUDIO_INFOFRAME_DB2SF_176400
#define CEA861_AUDIO_INFOFRAME_DB2SF_192000
#define CEA861_AUDIO_INFOFRAME_DB2SS
#define CEA861_AUDIO_INFOFRAME_DB2SS_FROM_STREAM
#define CEA861_AUDIO_INFOFRAME_DB2SS_16BIT
#define CEA861_AUDIO_INFOFRAME_DB2SS_20BIT
#define CEA861_AUDIO_INFOFRAME_DB2SS_24BIT
#define CEA861_AUDIO_INFOFRAME_DB5_DM_INH
#define CEA861_AUDIO_INFOFRAME_DB5_DM_INH_PERMITTED
#define CEA861_AUDIO_INFOFRAME_DB5_DM_INH_PROHIBITED
#define CEA861_AUDIO_INFOFRAME_DB5_LSV

/*****************************************************************************
 *                                                                           *
 *                            MIDI v1.0 interface                            *
 *                                                                           *
 *****************************************************************************/

#define MIDI_CHANNELS
#define MIDI_GM_DRUM_CHANNEL

/*
 *  MIDI commands
 */

#define MIDI_CMD_NOTE_OFF
#define MIDI_CMD_NOTE_ON
#define MIDI_CMD_NOTE_PRESSURE
#define MIDI_CMD_CONTROL
#define MIDI_CMD_PGM_CHANGE
#define MIDI_CMD_CHANNEL_PRESSURE
#define MIDI_CMD_BENDER

#define MIDI_CMD_COMMON_SYSEX
#define MIDI_CMD_COMMON_MTC_QUARTER
#define MIDI_CMD_COMMON_SONG_POS
#define MIDI_CMD_COMMON_SONG_SELECT
#define MIDI_CMD_COMMON_TUNE_REQUEST
#define MIDI_CMD_COMMON_SYSEX_END
#define MIDI_CMD_COMMON_CLOCK
#define MIDI_CMD_COMMON_START
#define MIDI_CMD_COMMON_CONTINUE
#define MIDI_CMD_COMMON_STOP
#define MIDI_CMD_COMMON_SENSING
#define MIDI_CMD_COMMON_RESET

/*
 *  MIDI controllers
 */

#define MIDI_CTL_MSB_BANK
#define MIDI_CTL_MSB_MODWHEEL
#define MIDI_CTL_MSB_BREATH
#define MIDI_CTL_MSB_FOOT
#define MIDI_CTL_MSB_PORTAMENTO_TIME
#define MIDI_CTL_MSB_DATA_ENTRY
#define MIDI_CTL_MSB_MAIN_VOLUME
#define MIDI_CTL_MSB_BALANCE
#define MIDI_CTL_MSB_PAN
#define MIDI_CTL_MSB_EXPRESSION
#define MIDI_CTL_MSB_EFFECT1
#define MIDI_CTL_MSB_EFFECT2
#define MIDI_CTL_MSB_GENERAL_PURPOSE1
#define MIDI_CTL_MSB_GENERAL_PURPOSE2
#define MIDI_CTL_MSB_GENERAL_PURPOSE3
#define MIDI_CTL_MSB_GENERAL_PURPOSE4
#define MIDI_CTL_LSB_BANK
#define MIDI_CTL_LSB_MODWHEEL
#define MIDI_CTL_LSB_BREATH
#define MIDI_CTL_LSB_FOOT
#define MIDI_CTL_LSB_PORTAMENTO_TIME
#define MIDI_CTL_LSB_DATA_ENTRY
#define MIDI_CTL_LSB_MAIN_VOLUME
#define MIDI_CTL_LSB_BALANCE
#define MIDI_CTL_LSB_PAN
#define MIDI_CTL_LSB_EXPRESSION
#define MIDI_CTL_LSB_EFFECT1
#define MIDI_CTL_LSB_EFFECT2
#define MIDI_CTL_LSB_GENERAL_PURPOSE1
#define MIDI_CTL_LSB_GENERAL_PURPOSE2
#define MIDI_CTL_LSB_GENERAL_PURPOSE3
#define MIDI_CTL_LSB_GENERAL_PURPOSE4
#define MIDI_CTL_SUSTAIN
#define MIDI_CTL_PORTAMENTO
#define MIDI_CTL_SOSTENUTO
#define MIDI_CTL_SOFT_PEDAL
#define MIDI_CTL_LEGATO_FOOTSWITCH
#define MIDI_CTL_HOLD2
#define MIDI_CTL_SC1_SOUND_VARIATION
#define MIDI_CTL_SC2_TIMBRE
#define MIDI_CTL_SC3_RELEASE_TIME
#define MIDI_CTL_SC4_ATTACK_TIME
#define MIDI_CTL_SC5_BRIGHTNESS
#define MIDI_CTL_SC6
#define MIDI_CTL_SC7
#define MIDI_CTL_SC8
#define MIDI_CTL_SC9
#define MIDI_CTL_SC10
#define MIDI_CTL_GENERAL_PURPOSE5
#define MIDI_CTL_GENERAL_PURPOSE6
#define MIDI_CTL_GENERAL_PURPOSE7
#define MIDI_CTL_GENERAL_PURPOSE8
#define MIDI_CTL_PORTAMENTO_CONTROL
#define MIDI_CTL_E1_REVERB_DEPTH
#define MIDI_CTL_E2_TREMOLO_DEPTH
#define MIDI_CTL_E3_CHORUS_DEPTH
#define MIDI_CTL_E4_DETUNE_DEPTH
#define MIDI_CTL_E5_PHASER_DEPTH
#define MIDI_CTL_DATA_INCREMENT
#define MIDI_CTL_DATA_DECREMENT
#define MIDI_CTL_NONREG_PARM_NUM_LSB
#define MIDI_CTL_NONREG_PARM_NUM_MSB
#define MIDI_CTL_REGIST_PARM_NUM_LSB
#define MIDI_CTL_REGIST_PARM_NUM_MSB
#define MIDI_CTL_ALL_SOUNDS_OFF
#define MIDI_CTL_RESET_CONTROLLERS
#define MIDI_CTL_LOCAL_CONTROL_SWITCH
#define MIDI_CTL_ALL_NOTES_OFF
#define MIDI_CTL_OMNI_OFF
#define MIDI_CTL_OMNI_ON
#define MIDI_CTL_MONO1
#define MIDI_CTL_MONO2

#endif /* __SOUND_ASOUNDEF_H */