DirectX SDK |
The DirectSoundBuffer.SaveToFile method saves the contents of the DirectSound buffer to a file.
object.SaveToFile(filename As String)
If the method fails, an error is raised and Err.Number may be set to one of the following error values:
DSERR_INVALIDCALL |
DSERR_INVALIDPARAM |