Microsoft DirectX 8.1 (Visual Basic) |
The CONST_WAVEFORMATFLAGS enumeration is used in the lFormats member of the DSCCAPS type to indicate what standard formats are supported.
Syntax
Enum CONST_WAVEFORMATFLAGS
WAVE_FORMAT_1M08 = 1
WAVE_FORMAT_1M16 = 4
WAVE_FORMAT_1S08 = 2
WAVE_FORMAT_1S16 = 8
WAVE_FORMAT_2M08 = 16 (&H10)
WAVE_FORMAT_2M16 = 64 (&H40)
WAVE_FORMAT_2S08 = 32 (&H20)
WAVE_FORMAT_2S16 = 128 (&H80)
WAVE_FORMAT_4M08 = 256 (&H100)
WAVE_FORMAT_4M16 = 1024 (&H400)
WAVE_FORMAT_4S08 = 512 (&H200)
WAVE_FORMAT_4S16 = 2048 (&H800)
End Enum
Constants
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.