Next: 5.2 Data types Up: 2 Configurationinitialization and Previous: 2 Configurationinitialization and

# 5.1 Constants

This section describes all constants used in MIDAS initialization and configuration. They are grouped according to the `enum` used to define them.

## 2.1.1 MIDASoptions

    enum MIDASoptions

### Description

These constants are used with the function MIDASsetOption to change different MIDAS configuration options.

### Values

MIDAS_OPTION_MIXRATE
  Output mixing rate
MIDAS_OPTION_OUTPUTMODE
  Output mode, see `enum` MIDASmodes
MIDAS_OPTION_MIXBUFLEN
  Mixing buffer length, in milliseconds
MIDAS_OPTION_MIXBUFBLOCKS
  The number of blocks the buffer should be divided into

## 2.1.2 MIDASmodes

    enum MIDASmodes

### Description

These constants are used to describe different MIDAS output modes. They are used with the function MIDASsetOption, when changing the setting MIDAS_OPTION_OUTPUTMODE.

### Values

MIDAS_MODE_8BIT_MONO
  8-bit mono output
MIDAS_MODE_16BIT_MONO
  16-bit mono output
MIDAS_MODE_8BIT_STEREO
  8-bit stereo output
MIDAS_MODE_16BIT_STEREO
  16-bit stereo output