KSDATAFORMAT_DSOUND structure (ksmedia.h)

The KSDATAFORMAT_DSOUND structure provides detailed information about a DirectSound audio stream.

Syntax

typedef struct {
  KSDATAFORMAT        DataFormat;
  KSDSOUND_BUFFERDESC BufferDesc;
} KSDATAFORMAT_DSOUND, *PKSDATAFORMAT_DSOUND;

Members

DataFormat

Specifies the stream's data format. This member is a structure of type KSDATAFORMAT.

BufferDesc

Describes the DirectSound buffer. This member is a structure of type KSDSOUND_BUFFERDESC.

Remarks

In response to an input DataRange parameter that specifies a DirectSound format (see example in DirectSound Stream Data Range), the IMiniport::DataRangeIntersection method checks to see if the specified pin supports a compatible DirectSound format. If so, the method outputs a KSDATAFORMAT_DSOUND structure (see example in DirectSound Stream Data Format) to the buffer that its ResultantFormat parameter points to.

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

IMiniport::DataRangeIntersection

KSDATAFORMAT

KSDSOUND_BUFFERDESC