Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
echoaudio.h File Reference
#include "echoaudio_dsp.h"

Go to the source code of this file.

Data Structures

struct  audiopipe
 
struct  audioformat
 
struct  echoaudio
 

Macros

#define TRUE   1
 
#define FALSE   0
 
#define VENDOR_ID   0x1057
 
#define DEVICE_ID_56301   0x1801
 
#define DEVICE_ID_56361   0x3410
 
#define SUBVENDOR_ID   0xECC0
 
#define DARLA20   0x0010
 
#define GINA20   0x0020
 
#define LAYLA20   0x0030
 
#define DARLA24   0x0040
 
#define GINA24   0x0050
 
#define LAYLA24   0x0060
 
#define MONA   0x0070
 
#define MIA   0x0080
 
#define INDIGO   0x0090
 
#define INDIGO_IO   0x00a0
 
#define INDIGO_DJ   0x00b0
 
#define DC8   0x00c0
 
#define INDIGO_IOX   0x00d0
 
#define INDIGO_DJX   0x00e0
 
#define ECHO3G   0x0100
 
#define ECHO_MAXAUDIOINPUTS   32 /* Max audio input channels */
 
#define ECHO_MAXAUDIOOUTPUTS   32 /* Max audio output channels */
 
#define ECHO_MAXAUDIOPIPES
 
#define E3G_MAX_OUTPUTS   16
 
#define ECHO_MAXMIDIJACKS   1 /* Max MIDI ports */
 
#define ECHO_MIDI_QUEUE_SZ   512 /* Max MIDI input queue entries */
 
#define ECHO_MTC_QUEUE_SZ
 
#define MIDI_ACTIVITY_TIMEOUT_USEC   200000
 
#define ECHO_CLOCK_INTERNAL   0
 
#define ECHO_CLOCK_WORD   1
 
#define ECHO_CLOCK_SUPER   2
 
#define ECHO_CLOCK_SPDIF   3
 
#define ECHO_CLOCK_ADAT   4
 
#define ECHO_CLOCK_ESYNC   5
 
#define ECHO_CLOCK_ESYNC96   6
 
#define ECHO_CLOCK_MTC   7
 
#define ECHO_CLOCK_NUMBER   8
 
#define ECHO_CLOCKS   0xffff
 
#define ECHO_CLOCK_BIT_INTERNAL   (1 << ECHO_CLOCK_INTERNAL)
 
#define ECHO_CLOCK_BIT_WORD   (1 << ECHO_CLOCK_WORD)
 
#define ECHO_CLOCK_BIT_SUPER   (1 << ECHO_CLOCK_SUPER)
 
#define ECHO_CLOCK_BIT_SPDIF   (1 << ECHO_CLOCK_SPDIF)
 
#define ECHO_CLOCK_BIT_ADAT   (1 << ECHO_CLOCK_ADAT)
 
#define ECHO_CLOCK_BIT_ESYNC   (1 << ECHO_CLOCK_ESYNC)
 
#define ECHO_CLOCK_BIT_ESYNC96   (1 << ECHO_CLOCK_ESYNC96)
 
#define ECHO_CLOCK_BIT_MTC   (1<<ECHO_CLOCK_MTC)
 
#define DIGITAL_MODE_NONE   0xFF
 
#define DIGITAL_MODE_SPDIF_RCA   0
 
#define DIGITAL_MODE_SPDIF_OPTICAL   1
 
#define DIGITAL_MODE_ADAT   2
 
#define DIGITAL_MODE_SPDIF_CDROM   3
 
#define DIGITAL_MODES   4
 
#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_RCA   (1 << DIGITAL_MODE_SPDIF_RCA)
 
#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_OPTICAL   (1 << DIGITAL_MODE_SPDIF_OPTICAL)
 
#define ECHOCAPS_HAS_DIGITAL_MODE_ADAT   (1 << DIGITAL_MODE_ADAT)
 
#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_CDROM   (1 << DIGITAL_MODE_SPDIF_CDROM)
 
#define EXT_3GBOX_NC   0x01 /* 3G box not connected */
 
#define EXT_3GBOX_NOT_SET   0x02 /* 3G box not detected yet */
 
#define ECHOGAIN_MUTED   (-128) /* Minimum possible gain */
 
#define ECHOGAIN_MINOUT   (-128) /* Min output gain (dB) */
 
#define ECHOGAIN_MAXOUT   (6) /* Max output gain (dB) */
 
#define ECHOGAIN_MININP   (-50) /* Min input gain (0.5 dB) */
 
#define ECHOGAIN_MAXINP   (50) /* Max input gain (0.5 dB) */
 
#define PIPE_STATE_STOPPED   0 /* Pipe has been reset */
 
#define PIPE_STATE_PAUSED   1 /* Pipe has been stopped */
 
#define PIPE_STATE_STARTED   2 /* Pipe has been started */
 
#define PIPE_STATE_PENDING   3 /* Pipe has pending start */
 
#define DE_INIT(x)
 
#define DE_HWP(x)
 
#define DE_ACT(x)
 
#define DE_MID(x)
 
#define pci_device(chip)   (&chip->pci->dev)
 

Macro Definition Documentation

#define DARLA20   0x0010

Definition at line 181 of file echoaudio.h.

#define DARLA24   0x0040

Definition at line 184 of file echoaudio.h.

#define DC8   0x00c0

Definition at line 192 of file echoaudio.h.

#define DE_ACT (   x)

Definition at line 314 of file echoaudio.h.

#define DE_HWP (   x)

Definition at line 307 of file echoaudio.h.

#define DE_INIT (   x)

Definition at line 300 of file echoaudio.h.

#define DE_MID (   x)

Definition at line 321 of file echoaudio.h.

#define DEVICE_ID_56301   0x1801

Definition at line 173 of file echoaudio.h.

#define DEVICE_ID_56361   0x3410

Definition at line 174 of file echoaudio.h.

#define DIGITAL_MODE_ADAT   2

Definition at line 267 of file echoaudio.h.

#define DIGITAL_MODE_NONE   0xFF

Definition at line 264 of file echoaudio.h.

#define DIGITAL_MODE_SPDIF_CDROM   3

Definition at line 268 of file echoaudio.h.

#define DIGITAL_MODE_SPDIF_OPTICAL   1

Definition at line 266 of file echoaudio.h.

#define DIGITAL_MODE_SPDIF_RCA   0

Definition at line 265 of file echoaudio.h.

#define DIGITAL_MODES   4

Definition at line 269 of file echoaudio.h.

#define E3G_MAX_OUTPUTS   16

Definition at line 210 of file echoaudio.h.

#define ECHO3G   0x0100

Definition at line 195 of file echoaudio.h.

#define ECHO_CLOCK_ADAT   4

Definition at line 234 of file echoaudio.h.

#define ECHO_CLOCK_BIT_ADAT   (1 << ECHO_CLOCK_ADAT)

Definition at line 249 of file echoaudio.h.

#define ECHO_CLOCK_BIT_ESYNC   (1 << ECHO_CLOCK_ESYNC)

Definition at line 250 of file echoaudio.h.

#define ECHO_CLOCK_BIT_ESYNC96   (1 << ECHO_CLOCK_ESYNC96)

Definition at line 251 of file echoaudio.h.

#define ECHO_CLOCK_BIT_INTERNAL   (1 << ECHO_CLOCK_INTERNAL)

Definition at line 245 of file echoaudio.h.

#define ECHO_CLOCK_BIT_MTC   (1<<ECHO_CLOCK_MTC)

Definition at line 252 of file echoaudio.h.

#define ECHO_CLOCK_BIT_SPDIF   (1 << ECHO_CLOCK_SPDIF)

Definition at line 248 of file echoaudio.h.

#define ECHO_CLOCK_BIT_SUPER   (1 << ECHO_CLOCK_SUPER)

Definition at line 247 of file echoaudio.h.

#define ECHO_CLOCK_BIT_WORD   (1 << ECHO_CLOCK_WORD)

Definition at line 246 of file echoaudio.h.

#define ECHO_CLOCK_ESYNC   5

Definition at line 235 of file echoaudio.h.

#define ECHO_CLOCK_ESYNC96   6

Definition at line 236 of file echoaudio.h.

#define ECHO_CLOCK_INTERNAL   0

Definition at line 230 of file echoaudio.h.

#define ECHO_CLOCK_MTC   7

Definition at line 237 of file echoaudio.h.

#define ECHO_CLOCK_NUMBER   8

Definition at line 238 of file echoaudio.h.

#define ECHO_CLOCK_SPDIF   3

Definition at line 233 of file echoaudio.h.

#define ECHO_CLOCK_SUPER   2

Definition at line 232 of file echoaudio.h.

#define ECHO_CLOCK_WORD   1

Definition at line 231 of file echoaudio.h.

#define ECHO_CLOCKS   0xffff

Definition at line 239 of file echoaudio.h.

#define ECHO_MAXAUDIOINPUTS   32 /* Max audio input channels */

Definition at line 207 of file echoaudio.h.

#define ECHO_MAXAUDIOOUTPUTS   32 /* Max audio output channels */

Definition at line 208 of file echoaudio.h.

#define ECHO_MAXAUDIOPIPES
Value:
32 /* Max number of input and output
* pipes */

Definition at line 209 of file echoaudio.h.

#define ECHO_MAXMIDIJACKS   1 /* Max MIDI ports */

Definition at line 211 of file echoaudio.h.

#define ECHO_MIDI_QUEUE_SZ   512 /* Max MIDI input queue entries */

Definition at line 212 of file echoaudio.h.

#define ECHO_MTC_QUEUE_SZ
Value:
32 /* Max MIDI time code input queue
* entries */

Definition at line 213 of file echoaudio.h.

#define ECHOCAPS_HAS_DIGITAL_MODE_ADAT   (1 << DIGITAL_MODE_ADAT)

Definition at line 276 of file echoaudio.h.

#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_CDROM   (1 << DIGITAL_MODE_SPDIF_CDROM)

Definition at line 277 of file echoaudio.h.

#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_OPTICAL   (1 << DIGITAL_MODE_SPDIF_OPTICAL)

Definition at line 275 of file echoaudio.h.

#define ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_RCA   (1 << DIGITAL_MODE_SPDIF_RCA)

Definition at line 274 of file echoaudio.h.

#define ECHOGAIN_MAXINP   (50) /* Max input gain (0.5 dB) */

Definition at line 288 of file echoaudio.h.

#define ECHOGAIN_MAXOUT   (6) /* Max output gain (dB) */

Definition at line 286 of file echoaudio.h.

#define ECHOGAIN_MININP   (-50) /* Min input gain (0.5 dB) */

Definition at line 287 of file echoaudio.h.

#define ECHOGAIN_MINOUT   (-128) /* Min output gain (dB) */

Definition at line 285 of file echoaudio.h.

#define ECHOGAIN_MUTED   (-128) /* Minimum possible gain */

Definition at line 284 of file echoaudio.h.

#define EXT_3GBOX_NC   0x01 /* 3G box not connected */

Definition at line 280 of file echoaudio.h.

#define EXT_3GBOX_NOT_SET   0x02 /* 3G box not detected yet */

Definition at line 281 of file echoaudio.h.

#define FALSE   0

Definition at line 157 of file echoaudio.h.

#define GINA20   0x0020

Definition at line 182 of file echoaudio.h.

#define GINA24   0x0050

Definition at line 185 of file echoaudio.h.

#define INDIGO   0x0090

Definition at line 189 of file echoaudio.h.

#define INDIGO_DJ   0x00b0

Definition at line 191 of file echoaudio.h.

#define INDIGO_DJX   0x00e0

Definition at line 194 of file echoaudio.h.

#define INDIGO_IO   0x00a0

Definition at line 190 of file echoaudio.h.

#define INDIGO_IOX   0x00d0

Definition at line 193 of file echoaudio.h.

#define LAYLA20   0x0030

Definition at line 183 of file echoaudio.h.

#define LAYLA24   0x0060

Definition at line 186 of file echoaudio.h.

#define MIA   0x0080

Definition at line 188 of file echoaudio.h.

#define MIDI_ACTIVITY_TIMEOUT_USEC   200000

Definition at line 218 of file echoaudio.h.

#define MONA   0x0070

Definition at line 187 of file echoaudio.h.

#define pci_device (   chip)    (&chip->pci->dev)

Definition at line 592 of file echoaudio.h.

#define PIPE_STATE_PAUSED   1 /* Pipe has been stopped */

Definition at line 291 of file echoaudio.h.

#define PIPE_STATE_PENDING   3 /* Pipe has pending start */

Definition at line 293 of file echoaudio.h.

#define PIPE_STATE_STARTED   2 /* Pipe has been started */

Definition at line 292 of file echoaudio.h.

#define PIPE_STATE_STOPPED   0 /* Pipe has been reset */

Definition at line 290 of file echoaudio.h.

#define SUBVENDOR_ID   0xECC0

Definition at line 175 of file echoaudio.h.

#define TRUE   1

Definition at line 156 of file echoaudio.h.

#define VENDOR_ID   0x1057

Definition at line 172 of file echoaudio.h.