次の方法で共有


SPAUDIOSTATE (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

SAPI Enumerations