Microsoft DirectX 8.1 (Visual Basic) |
The Play method causes the primary buffer to play.
Syntax
object.Play(flags As CONST_DSBPLAYFLAGS)
Parts
object
Resolves to a DirectSoundPrimaryBuffer8 object.
flags
Must be DSBPLAY_LOOPING.
Error Codes
If the method fails, an error is raised and Err.Number may be set to one of the following error codes.
DSERR_BUFFERLOST |
DSERR_INVALIDCALL |
DSERR_INVALIDPARAM |
DSERR_PRIOLEVELNEEDED |
See Also