Next: 5.2 Data types
Up: 2 Configurationinitialization and
Previous: 2 Configurationinitialization and
This section describes all constants used in MIDAS initialization and
configuration. They are grouped according to the enum used to
define them.
enum MIDASoptions
These constants are used with the function MIDASsetOption
to change different MIDAS configuration options.
- 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
enum MIDASmodes
These constants are used to describe different MIDAS output modes. They are
used with the function MIDASsetOption, when changing the setting
MIDAS_OPTION_OUTPUTMODE.
- 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
Petteri Kangaslampi
Mon Jan 27 00:19:24 EET 1997