Partager via


Playing Sounds

Microsoft DirectSound provides a system to capture sounds from input devices and play sounds through various playback devices using advanced 3-dimensional positioning effects, and filters for echo, distortion, reverberation, and other effects.

Information is presented in the following topics.

Playing Sounds This section is a guide to playing WAV sounds through DirectSound buffers.
3-D Sound Using DirectSound, you can locate sounds in space and apply Doppler shift to moving sounds. 3-D effects are applied to individual DirectSound buffers. Global parameters are set on an object called the listener.
Using Effects DirectSound provides support for effects processing of sounds by Microsoft DirectX Media Objects (DMOs).
Capturing Waveforms DirectSound enables you to capture sounds from a microphone or other input to the sound card, for immediate playback or storage in a file. Data can be captured in Pulse Code Modulation (PCM) or compressed formats.
Optimizing Performance This section offers some miscellaneous tips for improving the performance of applications that play their audio data directly into DirectSound buffers.

For more information, see the Microsoft.DirectX.DirectSound managed code reference documentation.