Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Struktur WAVEINCAPS menjelaskan kemampuan perangkat input waveform-audio.
Sintaks
typedef struct waveincaps_tag {
WORD wMid;
WORD wPid;
VERSION vDriverVersion;
char szPname[MAXPNAMELEN];
DWORD dwFormats;
WORD wChannels;
} WAVEINCAPS, *PWAVEINCAPS, *NPWAVEINCAPS, *LPWAVEINCAPS;
Anggota
wMid
Pengidentifikasi produsen untuk driver perangkat untuk perangkat input waveform-audio. Pengidentifikasi produsen didefinisikan dalam Produsen dan Pengidentifikasi Produk.
wPid
Pengidentifikasi produk untuk perangkat input waveform-audio. Pengidentifikasi produk didefinisikan dalam Produsen dan Pengidentifikasi Produk.
vDriverVersion
Nomor versi driver perangkat untuk perangkat input waveform-audio. Byte urutan tinggi adalah nomor versi utama, dan byte urutan rendah adalah nomor versi minor.
szPname[MAXPNAMELEN]
Nama produk dalam string yang dihentikan null.
dwFormats
Format standar yang didukung. Dapat berupa kombinasi dari yang berikut ini:
| Format | Deskripsi |
|---|---|
| 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 |
| WAVE_FORMAT_96M08 | 96 kHz, mono, 8-bit |
| WAVE_FORMAT_96M16 | 96 kHz, mono, 16-bit |
| WAVE_FORMAT_96S08 | 96 kHz, stereo, 8-bit |
| WAVE_FORMAT_96S16 | 96 kHz, stereo, 16-bit |
wChannels
Angka yang menentukan apakah perangkat mendukung input mono (1) atau stereo (2).
Persyaratan
| Persyaratan | Nilai |
|---|---|
| Klien minimum yang didukung | Windows 2000 Professional [hanya aplikasi desktop] |
| Server minimum yang didukung | Windows 2000 Server [hanya aplikasi desktop] |
| Header | mmeapi.h (termasuk Windows.h) |