DirectSound Buffers

This section covers the creation and management of DirectSoundBuffer objects, which are the fundamental mechanism for playing sounds. The following topics are discussed:

·Buffer Basics

·Static and Streaming Sound Buffers

·Creating Secondary Buffers

·Buffer Control Options

·Access to the Primary Buffer

·Playing Sounds

·Playback Controls

·Current Play and Write Positions

·Play Buffer Notification

·Mixing Sounds

·Custom Mixers

·Buffer Management

·Compressed Wave Formats

Most of the information in this section applies to 3-D sound buffers as well. For information specific to the IDirectSound3DBuffer interface, see DirectSound 3-D Buffers.

For information about capture buffers, see DirectSoundCapture.