ReactOS 0.4.16-dev-334-g4d9f67c
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
34
35 // Range of valid device type IDs
38
39 // Number of sound device types
SOUND_DEVICE_TYPE
Definition: sndtypes.h:26
@ MIXER_DEVICE_TYPE
Definition: sndtypes.h:33
@ MIN_SOUND_DEVICE_TYPE
Definition: sndtypes.h:36
@ MIDI_OUT_DEVICE_TYPE
Definition: sndtypes.h:31
@ WAVE_IN_DEVICE_TYPE
Definition: sndtypes.h:28
@ SOUND_DEVICE_TYPES
Definition: sndtypes.h:40
@ AUX_DEVICE_TYPE
Definition: sndtypes.h:32
@ WAVE_OUT_DEVICE_TYPE
Definition: sndtypes.h:29
@ MAX_SOUND_DEVICE_TYPE
Definition: sndtypes.h:37
@ MIDI_IN_DEVICE_TYPE
Definition: sndtypes.h:30