Поделиться через


STREAMPROPS (Windows Embedded CE 6.0)

1/6/2010

This structure defines the properties of a waveform audio stream.

Syntax

typedef struct tagSTREAMPROPS {
  DWORD dwClassID;
  DWORD dwFlags;
} STREAMPROPS, *PSTREAMPROPS;

Members

  • dwClassID
    A DWORD value that identifies the playback class for the waveform audio stream. The following table shows the possible values for this member.

    Flag Description

    WAGC_CLASS_DEFAULT

    The stream is in the default playback class.

    WAGC_CLASS_NORMAL

    The stream is in the normal playback class.

    WAGC_CLASS_AUDIO_ALERT

    The stream is in the audio alert default playback class.

    WAGC_CLASS_SPEECH_ALERT

    The stream is in the speech alert playback class.

    WAGC_CLASS_SPEECH_NOTIFICATION

    The stream is in the speech notification playback class.

    WAGC_CLASS_AUDIO_NOTIFICATION

    The stream is in the audio notification playback class.

    WAGC_CLASS_FORCE_MUTE

    The stream is in the muted playback class.

    WAGC_CLASS_MAX

    The value is the upper bound for playback classes. Playback class values higher than this are illegal.

  • dwFlags
    A DWORD value contains a bit mask that contains one or more flags describing the audio stream. The following table shows the possible flags in this bit mask.

    Flag Description

    SPSFL_NOTIFY_GAIN_CHANGE

    The stream is affected by audio gain classes.

    SPSFL_EXCLUDE

    The stream not affected by audio gain classes.

Requirements

Header mmsystem.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Waveform Audio Structures
waveInGetProperty
waveInSetProperty
waveOutGetProperty
waveOutSetProperty

Concepts

Audio Gain Classes