DirectX SDK

DSCCAPS

The DSCCAPS type is used by the DirectSoundCapture.GetCaps method.

Type DSCCAPS
    lChannels As Long
    lFlags As CONST_DSCCAPSFLAGS
    lFormats As CONST_WAVEFORMATFLAGS
End Type

Members

lChannels
Number specifying the number of channels supported by the device, where 1 is mono, 2 is stereo, and so on.
lFlags
Specifies device capabilities. Can be zero or one of the following members of the CONST_DSCCAPSFLAGS enumeration:
DSCCAPS_EMULDRIVER
There is no DirectSoundCapture driver for the device, so the standard wave audio functions are being used.
lFormats
Standard formats that are supported. These are equivalent to the values in the WAVEINCAPS type used in the Win32 waveform audio functions, and are reproduced here for convenience. All of the following values are constants of the CONST_WAVEFORMATFLAGS enumeration.
Value Meaning
WAVE_FORMAT_1M08 11.025 kHz, mono, 8-bit
WAVE_FORMAT_1M16 11.025 kHz, mono, 16-bit
WAVE_FORMAT_1S08 11.025 kHz, stereo, 8-bit
WAVE_FORMAT_1S16 11.025 kHz, stereo, 16-bit
WAVE_FORMAT_2M08 22.05 kHz, mono, 8-bit
WAVE_FORMAT_2M16 22.05 kHz, mono, 16-bit
WAVE_FORMAT_2S08 22.05 kHz, stereo, 8-bit
WAVE_FORMAT_2S16 22.05 kHz, stereo, 16-bit
WAVE_FORMAT_4M08 44.1 kHz, mono, 8-bit
WAVE_FORMAT_4M16 44.1 kHz, mono, 16-bit
WAVE_FORMAT_4S08 44.1 kHz, stereo, 8-bit
WAVE_FORMAT_4S16 44.1 kHz, stereo, 16-bit