Microsoft DirectX 8.1 (Visual Basic)

CONST_DSCAPSFLAGS

The CONST_DSCAPSFLAGS enumeration is used in the lFlags member of the DSCAPS type to describe device capabilities.

Syntax

Enum CONST_DSCAPSFLAGS
  DSCAPS_CERTIFIED       =   64 (&H40)
  DSCAPS_CONTINUOUSRATE  =   16 (&H10)
  DSCAPS_EMULDRIVER      =   32 (&H20)
  DSCAPS_PRIMARY16BIT    =    8 
  DSCAPS_PRIMARY8BIT     =    4 
  DSCAPS_PRIMARYMONO     =    1 
  DSCAPS_PRIMARYSTEREO   =    2 
  DSCAPS_SECONDARY16BIT  = 2048 (&H800)
  DSCAPS_SECONDARY8BIT   = 1024 (&H400)
  DSCAPS_SECONDARYMONO   =  256 (&H100)
  DSCAPS_SECONDARYSTEREO =  512 (&H200)
End Enum

Constants

DSCAPS_CERTIFIED

This driver has been tested and certified by Microsoft. This flag is always set for WDM drivers, and should not be relied on.

DSCAPS_CONTINUOUSRATE

The device supports all sample rates between the lMinSecondarySampleRate and lMaxSecondarySampleRate member values. Typically, this means that the actual output rate is within 10 hertz (Hz) of the requested frequency.

DSCAPS_EMULDRIVER

The device does not have a DirectSound driver installed, so it is being emulated through the waveform-audio functions. Performance degradation should be expected.

DSCAPS_PRIMARY16BIT

The device supports primary sound buffers with 16-bit samples.

DSCAPS_PRIMARY8BIT

The device supports primary buffers with 8-bit samples.

DSCAPS_PRIMARYMONO

The device supports monophonic primary buffers.

DSCAPS_PRIMARYSTEREO

The device supports stereo primary buffers.

DSCAPS_SECONDARY16BIT

The device supports hardware-mixed secondary sound buffers with 16-bit samples.

DSCAPS_SECONDARY8BIT

The device supports hardware-mixed secondary buffers with 8-bit samples.

DSCAPS_SECONDARYMONO

The device supports hardware-mixed monophonic secondary buffers.

DSCAPS_SECONDARYSTEREO

The device supports hardware-mixed stereo secondary buffers.