Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applications use the methods of the IDirectSoundBuffer interface to create DirectSoundBuffer objects and set up the environment.
The interface is obtained by using the IDirectSound::CreateSoundBuffer method.
The IDirectSoundBuffer methods can be organized into the following groups:
| Information | GetCaps |
| GetFormat | |
| GetStatus | |
| SetFormat | |
| Memory management | Initialize |
| Restore | |
| Play management | GetCurrentPosition |
| Lock | |
| Play | |
| SetCurrentPosition | |
| Stop | |
| Unlock | |
| Sound management | GetFrequency |
| GetPan | |
| GetVolume | |
| SetFrequency | |
| SetPan | |
| SetVolume |
All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:
| IUnknown | AddRef |
| QueryInterface | |
| Release |
The LPDIRECTSOUNDBUFFER type is defined as a pointer to the IDirectSoundBuffer interface.
typedef struct IDirectSoundBuffer *LPDIRECTSOUNDBUFFER;
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dsound.h.
Link Library: Dsound.lib.
See Also
IDirectSound::CreateSoundBuffer
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.