Microsoft DirectX 8.0 (Visual Basic) |
Causes the sound buffer to stop playing.
object.Stop()
If the method fails, an error is raised and Err.Number may be set to one of the following error values.
DSERR_INVALIDPARAM |
DSERR_PRIOLEVELNEEDED |
The method sets the play cursor of the buffer to the sample that follows the last sample played. This means that when the DirectSoundSecondaryBuffer8.Play method is subsequently called on the buffer, it continues playing where it left off.