Expand Minimize

KSDATAFORMAT_DSOUND structure

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

Header

Ksmedia.h (include Ksmedia.h)

See also

KSDATAFORMAT
KSDSOUND_BUFFERDESC
IMiniport::DataRangeIntersection

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.