Microsoft DirectX 9.0

DSOUND_IO_DSBUFFERDESC

The DSOUND_IO_DSBUFFERDESC structure describes a DirectSound buffer. Used in the DirectSound Buffer Configuration Form.

Syntax

typedef struct _DSOUND_IO_DSBUFFERDESC {
  DWORD dwFlags;
  WORD nChannels;
  LONG lVolume;
  LONG lPan;
  DWORD dwReserved;
} DSOUND_IO_DSBUFFERDESC;

Members

dwFlags

Buffer creation flags. See DSBUFFERDESC.

nChannels

Number of channels. Other parameters of the format are determined by the sink that owns the buffer.

lVolume

Initial volume. Used only if DSBCAPS_CTRLVOLUME is in dwFlags.

lPan

Initial pan. Used only if DSBCAPS_CTRLPAN is in dwFlags.

dwReserved

Reserved. Must be 0.

Requirements

  Header: Declared in dmusicf.h.

See Also