Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
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_OpenThe audio device attempted to open. |
SNDDEV_ERROR_CloseThe audio device attempted to close. |
SNDDEV_ERROR_GetCapsThe capabilities of the underlying hardware were being retrieved. |
SNDDEV_ERROR_PrepareHeaderThe header for the audio device was being prepared. |
SNDDEV_ERROR_UnprepareHeaderThe header for the audio device was being unprepared. |
SNDDEV_ERROR_ResetThe audio device attempted to reset. |
SNDDEV_ERROR_RestartThe audio device attempted to restart. |
SNDDEV_ERROR_GetPositionThe current and stop position settings were being retrieved. |
SNDDEV_ERROR_WriteThe audio device was being written to. |
SNDDEV_ERROR_PauseThe audio device attempted to pause. |
SNDDEV_ERROR_StopThe audio device attempted to stop. |
SNDDEV_ERROR_StartThe audio device attempted to start. |
SNDDEV_ERROR_AddBufferA buffer was being added to the audio device. |
SNDDEV_ERROR_QueryThe audio device was being queried. |
Requirements
| Requirement | Value |
|---|---|
| Header | audevcod.h (include Dshow.h) |