SPAUDIOSTATE
Other versions of this page are also available for the following:
8/28/2008
This enumeration defines audio input and output states. It is used directly by the ISpAudio::SetState method. For more information, seethe SPAUDIOSTATUS structure.
Syntax
typedef enum _SPAUDIOSTATE{
SPAS_CLOSED,
SPAS_STOP,
SPAS_PAUSE,
SPAS_RUN
} SPAUDIOSTATE;
Elements
- SPAS_CLOSED
Stop and close audio. For multimedia audio input devices, for example, sound cards, the device will be released. Release allows the device to be opened by other processes and potentially made unavailable to SAPI.
- SPAS_STOP
Stop audio. For multimedia audio input devices, the audio device will not be closed. This guarantees that SAPI can restart the device without an intervening process opening it.
- SPAS_PAUSE
Pause audio. Staying in this state for too long will result in audio loss.
- SPAS_RUN
Enable audio.
Requirements
Header | sapi.h, sapi.idl |
Windows Embedded CE | Windows CE .NET 4.1 and later |