VOID
SoundInitializeWaveInfo(
PWAVE_INFO WaveInfo,
UCHAR DMAType,
PSOUND_QUERY_FORMAT_ROUTINE QueryFormat,
PVOID HwContext
);
The SoundInitializeWaveInfo initializes a WAVE_INFO structure.
enum { SoundNoDMA, SoundAutoInitDMA, // Use auto-initialize SoundReprogramOnInterruptDMA, // Reprogram on interrupt Sound2ChannelDMA // Keep 2 channels going };
Sound2ChannelDMA is not currently supported in soundlib.lib.
None.
Before calling SoundInitializeWaveInfo, the driver must initialize the HwSetupDMA, HwStopDMA, and HwSetWaveFormat structure members and zero the rest of the structure.
Drivers calling SoundInitializeWaveInfo must include wave.h.