Microsoft DirectX 8.1 (Visual Basic)

CONST_DSBSTATUSFLAGS

The CONST_DSBSTATUSFLAGS enumeration describe the status of a buffer. Constants from this enumeration are returned by the DirectSoundSecondaryBuffer8.GetStatus method.

Syntax

Enum CONST_DSBSTATUSFLAGS
  DSBSTATUS_BUFFERLOST  =  2 
  DSBSTATUS_LOCHARDWARE =  8 
  DSBSTATUS_LOCSOFTWARE = 16 (&H10)
  DSBSTATUS_LOOPING     =  4 
  DSBSTATUS_PLAYING     =  1 
  DSBSTATUS_TERMINATED  = 32 (&H20)
End Enum

Constants

DSBSTATUS_BUFFERLOST

The buffer is lost and must be restored before it can be played or locked.

DSBSTATUS_LOCHARDWARE

The buffer is playing in hardware. Set only for buffers created with the DSBCAPS_LOCDEFER flag.

DSBSTATUS_LOCSOFTWARE

The buffer is playing in software. Set only for buffers created with the DSBCAPS_LOCDEFER flag.

DSBSTATUS_LOOPING

The buffer is being looped. If this value is not set, the buffer stops when it reaches the end of the sound data. This value is returned only in combination with DSBSTATUS_PLAYING.

DSBSTATUS_PLAYING

The buffer is playing.

DSBSTATUS_TERMINATED

The buffer was prematurely terminated by the voice manager and is not playing. Set only for buffers created with the DSBCAPS_LOCDEFER flag.