STREAMPROPS (Compact 2013)

3/26/2014

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

See Also

Reference

Waveform Audio Structures
waveInGetProperty
waveInSetProperty
waveOutGetProperty
waveOutSetProperty