DirectX SDK

CONST_DSBSTATUSFLAGS

The CONST_DSBSTATUSFLAGS enumeration is used as a return value for the DirectSoundBuffer.GetStatus method to retrieve the status of the sound buffer.

Enum CONST_DSBSTATUSFLAGS
    DSBSTATUS_BUFFERLOST = 2
    DSBSTATUS_LOOPING    = 4
    DSBSTATUS_PLAYING    = 1
End Enum
DSBSTATUS_BUFFERLOST
The buffer is lost and must be restored before it can be played or locked.
DSBSTATUS_LOOPING
The buffer is being looped. If this value is not set, the buffer will stop when it reaches the end of the sound data. Note that if this value is set, the buffer must also be playing.
DSBSTATUS_PLAYING
The buffer is playing. If this value is not set, the buffer is stopped.