次の方法で共有


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.

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:** Dmusicf.h

See Also

© 2004 Microsoft Corporation. All rights reserved.