Previous Next

KSDATAFORMAT_DSOUND

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

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.

Headers

Declared in ksmedia.h. Include ksmedia.h.

Comments

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.

See Also

KSDATAFORMAT, KSDSOUND_BUFFERDESC, IMiniport::DataRangeIntersection