Microsoft DirectX 8.0

SNDDEV_ERR Enumeration

Enumerated Types

Specifies how the audio device was being accessed when the failure occurred.

Syntax

typedef enum _tagSND_DEVICE_ERROR {
    SNDDEV_ERROR_Open             = 1,       
    SNDDEV_ERROR_Close            = 2,       
    SNDDEV_ERROR_GetCaps          = 3,       
    SNDDEV_ERROR_PrepareHeader    = 4,
    SNDDEV_ERROR_UnprepareHeader  = 5,       
    SNDDEV_ERROR_Reset            = 6,
    SNDDEV_ERROR_Restart          = 7,       
    SNDDEV_ERROR_GetPosition      = 8,       
    SNDDEV_ERROR_Write            = 9,
    SNDDEV_ERROR_Pause            = 10,       
    SNDDEV_ERROR_Stop             = 11,       
    SNDDEV_ERROR_Start            = 12,       
    SNDDEV_ERROR_AddBuffer        = 13,
    SNDDEV_ERROR_Query            = 14,       
} SNDDEV_ERR;

Elements

SNDDEV_ERROR_Open
The audio device attempted to open.
SNDDEV_ERROR_Close
The audio device attempted to close.
SNDDEV_ERROR_GetCaps
The capabilities of the underlying hardware were being retrieved.
SNDDEV_ERROR_PrepareHeader
The header for the audio device was being prepared.
SNDDEV_ERROR_UnprepareHeader
The header for the audio device was being unprepared.
SNDDEV_ERROR_Reset
The audio device attempted to reset.
SNDDEV_ERROR_Restart
The audio device attempted to restart.
SNDDEV_ERROR_GetPosition
The current and stop position settings were being retrieved.
SNDDEV_ERROR_Write
The audio device was being written to.
SNDDEV_ERROR_Pause
The audio device attempted to pause.
SNDDEV_ERROR_Stop
The audio device attempted to stop.
SNDDEV_ERROR_Start
The audio device attempted to start.
SNDDEV_ERROR_AddBuffer
A buffer was being added to the audio device.
SNDDEV_ERROR_Query
The audio device was being queried.