ReactOS  0.4.14-dev-98-gb0d4763
sndtypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_VALID_SOUND_DEVICE_TYPE(x)   ( ( x >= MIN_SOUND_DEVICE_TYPE ) && ( x <= MAX_SOUND_DEVICE_TYPE ) )
 
#define IS_WAVE_DEVICE_TYPE(x)   ( ( x == WAVE_IN_DEVICE_TYPE ) || ( x == WAVE_OUT_DEVICE_TYPE ) )
 
#define IS_MIDI_DEVICE_TYPE(x)   ( ( x == MIDI_IN_DEVICE_TYPE ) || ( x == MIDI_OUT_DEVICE_TYPE ) )
 
#define IS_AUX_DEVICE_TYPE(x)   ( x == AUX_DEVICE_TYPE )
 
#define IS_MIXER_DEVICE_TYPE(x)   ( x == MIXER_DEVICE_TYPE )
 

Enumerations

enum  SOUND_DEVICE_TYPE {
  WAVE_IN_DEVICE_TYPE = 1, WAVE_OUT_DEVICE_TYPE = 2, MIDI_IN_DEVICE_TYPE = 3, MIDI_OUT_DEVICE_TYPE = 4,
  AUX_DEVICE_TYPE = 5, MIXER_DEVICE_TYPE = 6, MIN_SOUND_DEVICE_TYPE = 1, MAX_SOUND_DEVICE_TYPE = 6,
  SOUND_DEVICE_TYPES = 6
}
 

Macro Definition Documentation

◆ IS_AUX_DEVICE_TYPE

#define IS_AUX_DEVICE_TYPE (   x)    ( x == AUX_DEVICE_TYPE )

Definition at line 52 of file sndtypes.h.

◆ IS_MIDI_DEVICE_TYPE

#define IS_MIDI_DEVICE_TYPE (   x)    ( ( x == MIDI_IN_DEVICE_TYPE ) || ( x == MIDI_OUT_DEVICE_TYPE ) )

Definition at line 49 of file sndtypes.h.

◆ IS_MIXER_DEVICE_TYPE

#define IS_MIXER_DEVICE_TYPE (   x)    ( x == MIXER_DEVICE_TYPE )

Definition at line 55 of file sndtypes.h.

◆ IS_VALID_SOUND_DEVICE_TYPE

#define IS_VALID_SOUND_DEVICE_TYPE (   x)    ( ( x >= MIN_SOUND_DEVICE_TYPE ) && ( x <= MAX_SOUND_DEVICE_TYPE ) )

Definition at line 43 of file sndtypes.h.

◆ IS_WAVE_DEVICE_TYPE

#define IS_WAVE_DEVICE_TYPE (   x)    ( ( x == WAVE_IN_DEVICE_TYPE ) || ( x == WAVE_OUT_DEVICE_TYPE ) )

Definition at line 46 of file sndtypes.h.

Enumeration Type Documentation

◆ SOUND_DEVICE_TYPE

Enumerator
WAVE_IN_DEVICE_TYPE 
WAVE_OUT_DEVICE_TYPE 
MIDI_IN_DEVICE_TYPE 
MIDI_OUT_DEVICE_TYPE 
AUX_DEVICE_TYPE 
MIXER_DEVICE_TYPE 
MIN_SOUND_DEVICE_TYPE 
MAX_SOUND_DEVICE_TYPE 
SOUND_DEVICE_TYPES 

Definition at line 25 of file sndtypes.h.

26 {
27  // The sound device types
32  AUX_DEVICE_TYPE = 5,
34 
35  // Range of valid device type IDs
38 
39  // Number of sound device types
SOUND_DEVICE_TYPE
Definition: sndtypes.h:25