SNDDEV_ERR enumeration
-
Artículo
-
- Tiempo de lectura: 2 minutos
Specifies how the audio device was being accessed when the failure occurred.
Syntax
typedef enum _tagSND_DEVICE_ERROR {
SNDDEV_ERROR_Open,
SNDDEV_ERROR_Close,
SNDDEV_ERROR_GetCaps,
SNDDEV_ERROR_PrepareHeader,
SNDDEV_ERROR_UnprepareHeader,
SNDDEV_ERROR_Reset,
SNDDEV_ERROR_Restart,
SNDDEV_ERROR_GetPosition,
SNDDEV_ERROR_Write,
SNDDEV_ERROR_Pause,
SNDDEV_ERROR_Stop,
SNDDEV_ERROR_Start,
SNDDEV_ERROR_AddBuffer,
SNDDEV_ERROR_Query
} SNDDEV_ERR;
Constants
| 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. |
Requirements
| |
|
| Header |
audevcod.h (include Dshow.h) |
See also
DirectShow Enumerated Types