Windows API Guide: socket Function


Type WAVEOUTCAPS   wMid As Integer   wPid As Integer   vDriverVersion As Long   szPname As String * 32   dwFormats As Long   wChannels As Integer   dwSupport As Long End Type

WAVEOUTCAPS-type variables store information about a waveform output device's capabilities as well as other information about it. The various members of the structure identify the abilities of the device.

wMid
The manufacturer identifier of the maker of the device.
wPid
The product identifier of the device.
vDriverVersion
The major and minor version numbers of the device. The high-order half of the value contains the major version number; the low-order half contains the minor version number.
szPname
A null-terminated string specifying the name of the device.
dwFormats
Zero or more of the following flags specifying the various audio output formats the device supports:
WAVE_FORMAT_1M08 = &H1
Supports 11.025 kHz, 8-bit, mono playback.
WAVE_FORMAT_1M16 = &H4
Supports 11.025 kHz, 16-bit, mono playback.
WAVE_FORMAT_1S08 = &H2
Supports 11.025 kHz, 8-bit, stereo playback.
WAVE_FORMAT_1S16 = &H8
Supports 11.025 kHz, 16-bit, stereo playback.
WAVE_FORMAT_2M08 = &H10
Supports 22.05 kHz, 8-bit, mono playback.
WAVE_FORMAT_2M16 = &H40
Supports 22.05 kHz, 16-bit, mono playback.
WAVE_FORMAT_2S08 = &H20
Supports 22.05 kHz, 8-bit, stereo playback.
WAVE_FORMAT_2S16 = &H80
Supports 22.05 kHz, 16-bit, stereo playback.
WAVE_FORMAT_4M08 = &H100
Supports 44.1 kHz, 8-bit, mono playback.
WAVE_FORMAT_4M16 = &H400
Supports 44.1 kHz, 16-bit, mono playback.
WAVE_FORMAT_4S08 = &H200
Supports 44.1 kHz, 8-bit, stereo playback.
WAVE_FORMAT_4S16 = &H800
Supports 44.1 kHz, 16-bit, stereo playback.
wChannels
The number of audio channels on the device. 1 means a mono device; 2 means a stereo device.
dwSupport
Zero or more of the following flags specifying which features the device supports:
WAVECAPS_LRVOLUME = &H8
Supports separate left and right channel volumes.
WAVECAPS_PITCH = &H1
Supports pitch control.
WAVECAPS_PLAYBACKRATE = &H2
Supports playback rate control.
WAVECAPS_SAMPLEACCURATE = &H20
Supports returning of sample-accurate position information.
WAVECAPS_SYNC = &H10
Supports synchronous playback -- i.e., it will block while playing buffered audio.
WAVECAPS_VOLUME = &H4
Supports volume control.

Used by: waveOutGetDevCaps

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/w/waveoutcaps.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net